|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to find a linefeed character or Ascii 13 char in WMQI |
« View previous topic :: View next topic » |
Author |
Message
|
Yash |
Posted: Thu Dec 05, 2002 6:41 am Post subject: How to find a linefeed character or Ascii 13 char in WMQI |
|
|
Novice
Joined: 26 Sep 2002 Posts: 24
|
Hai All,
Can anyone help how to find a ASCII 13 character i,e. linefeed (\n) in WMQI.
Thanks, _________________ Yash |
|
Back to top |
|
 |
cute_pav |
Posted: Fri Dec 06, 2002 7:51 pm Post subject: |
|
|
Acolyte
Joined: 04 Jan 2002 Posts: 65 Location: usa
|
yash,
What is ur exact requirement on \n?
do u need to creat newline char thr'ESQL?
pavan |
|
Back to top |
|
 |
ernest-ter.kuile |
Posted: Wed Dec 11, 2002 8:50 am Post subject: Re: How to find a linefeed character or Ascii 13 char in WMQ |
|
|
 Apprentice
Joined: 13 May 2002 Posts: 49 Location: KLM Holland
|
Yash wrote: |
Can anyone help how to find a ASCII 13 character i,e. linefeed (\n) in WMQI.
|
if it's in an MRM, use the string '<LF>' as the char to look for.
if it's in a compute node, use this :
Code: |
DECLARE LF CHAR;
SET LF = CAST (CAST(X'0D' AS BLOB) AS CHAR CCSID InputRoot.MQMD.CodedCharSetId); |
and do your compare using LF
the same will work for CR using X'0A'
Also as a special feature (read bug) you can also make a linefeed
using this
don't use this though, it's not very portable.  |
|
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
|
|
|
|