ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with <CR><LF> in esql.

Post new topic  Reply to topic Goto page Previous  1, 2
 Problem with <CR><LF> in esql. « View previous topic :: View next topic » 
Author Message
kishoreraju
PostPosted: Thu Jun 02, 2005 5:40 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

I working on windows platform

and CCSID that i am using is 437


It not the problem with JText Adapter configuration.because we have Jtext adapter in another 10 senarios where we did't have any problem.
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Jun 02, 2005 6:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I don't understand what is being done here.
Is JText adapter configured for WBIMB ?
You should explain your configuration little better.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kishoreraju
PostPosted: Thu Jun 02, 2005 8:21 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

I configured JText adapter with Message Broker

My scenario is

I have a JText adapter at the source side, which picks a message from a file and places it in a queue. From that the message flow will process that message and writes it on to a destination queue. Again from the destination queue Jtext adapter will pick that message writes it on to a target directory.


When I am using a Passthrough MessageFlow(SET OutputRoot=InputRoot) in ESQL.) i did't have any problem.It writing the file at the target directory without any problem.

But In my actual scenario

I getting the Content of the file in a single string form the source system. on the target side i have to write to a file in which each line should contain only 80 characters,For that I am Adding CR and LF in the ESQL after every 80 characters(you can see the code that i am using to add CR and LF in my previous postings).By using the above code i am getting LF only . i don't know why iam not able get CR in the output file.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 02, 2005 8:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The fact that you are getting LF only sounds very much like the JText Adapter is set up to convert the data into Java/Unix line separators, which is just LF.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kishoreraju
PostPosted: Fri Jun 03, 2005 4:28 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

It is not the broblem with the Jtext adapter.because adapter will send what ever the data that we have given to the target directory.
Back to top
View user's profile Send private message
kishoreraju
PostPosted: Wed Jun 08, 2005 11:37 am    Post subject: <CR><LF> Problem fixed Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

Finally i got the solution to this problem

I have Cahnged the message domain from MRM to XMLNS

I have added &#10;&#13 to the content the fo the file when even <CR><LF> is required

and i Applied .(XML.AsisElementContent) to that xmlns attribute

THe below is sample code.

SET OutputRoot.XMLNS.q3:FileContent1.q3:FileContent.(XML.AsisElementContent)=Environment.FileContent;



Thanks for ur help to solve this problem
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with <CR><LF> in esql.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.