|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
<CR><LF> needs to execute in ESQL.. |
« View previous topic :: View next topic » |
Author |
Message
|
cyvwmb |
Posted: Fri Aug 30, 2013 10:36 am Post subject: <CR><LF> needs to execute in ESQL.. |
|
|
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 |
|
 |
Vitor |
Posted: Fri Aug 30, 2013 10:43 am Post subject: Re: <CR><LF> needs to execute in ESQL.. |
|
|
 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 |
|
 |
cyvwmb |
Posted: Sun Sep 01, 2013 10:22 pm Post subject: Re: <CR><LF> needs to execute in ESQL.. |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|