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 » <CR><LF> needs to execute in ESQL..

Post new topic  Reply to topic
 <CR><LF> needs to execute in ESQL.. « View previous topic :: View next topic » 
Author Message
cyvwmb
PostPosted: Fri Aug 30, 2013 10:36 am    Post subject: <CR><LF> needs to execute in ESQL.. Reply with quote

Newbie

Joined: 18 Mar 2013
Posts: 9

Hi Gents,

I have requirement..Message flow like this

MQInput Node---->Compute Node--->MQOutPut;

Input is XML files convert into Fixed string(output)..

Here for example Sample i/p and o/p

<Data>
<Name>Ravi</Name>
<Class>first</Class>
<Section>A</Section>
<Stress>TNager</Stress>
<City>Chennai</City>
<State>TN</State>
<Phone>1234567890</Phone>
<Email>asdfg@gmail.com</Email>
</Data>
--------------------------------------------------
Sample o/p Fixed String

NAMERavi <CR><LF>
CLASSfirst SECTIONA <CR><LF>
STRESSTNager <CR><LF>
CITYChennai <CR><LF>
STATETN <CR><LF>
CONTACT1234567890 EMAILasdfg@gmail.com <CR><LF>
---------------

Here which i underline values is coming from input rest of the thing is Hard coded like NAME..CLASS..IN O/P

What is my Qus? is how can i implement CRLF in ESQL ...


Please suggest, looking some one help..
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Aug 30, 2013 10:43 am    Post subject: Re: <CR><LF> needs to execute in ESQL.. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cyvwmb wrote:
is how can i implement CRLF in ESQL ...


Why would you want to? You're using (or should be using) MRM or DFDL to produce the output, depending on what version of WMB you're using and which you've not seen fit to mention. Both of those will add the delimiters for you and is one of the good reasons you should be using them. It's the solution given in your previous post here, where you were trying to strip out the CR & LF in ESQL and were advised to use a message set.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cyvwmb
PostPosted: Sun Sep 01, 2013 10:22 pm    Post subject: Re: <CR><LF> needs to execute in ESQL.. Reply with quote

Newbie

Joined: 18 Mar 2013
Posts: 9

Vitor wrote:
cyvwmb wrote:
is how can i implement CRLF in ESQL ...


Why would you want to? You're using (or should be using) MRM or DFDL to produce the output, depending on what version of WMB you're using and which you've not seen fit to mention. Both of those will add the delimiters for you and is one of the good reasons you should be using them. It's the solution given in your previous post here, where you were trying to strip out the CR & LF in ESQL and were advised to use a message set.



Hi Vitor,

yes ur right Thank you very much ...I completed the task also..
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » <CR><LF> needs to execute 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.