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 » How to find a linefeed character or Ascii 13 char in WMQI

Post new topic  Reply to topic
 How to find a linefeed character or Ascii 13 char in WMQI « View previous topic :: View next topic » 
Author Message
Yash
PostPosted: Thu Dec 05, 2002 6:41 am    Post subject: How to find a linefeed character or Ascii 13 char in WMQI Reply with quote

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
View user's profile Send private message
cute_pav
PostPosted: Fri Dec 06, 2002 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
ernest-ter.kuile
PostPosted: Wed Dec 11, 2002 8:50 am    Post subject: Re: How to find a linefeed character or Ascii 13 char in WMQ Reply with quote

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

Code:
SET LF = '
';



don't use this though, it's not very portable.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to find a linefeed character or Ascii 13 char in WMQI
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.