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 » Carriage Return + Linefeed in eSQL?

Post new topic  Reply to topic
 Carriage Return + Linefeed in eSQL? « View previous topic :: View next topic » 
Author Message
Kjell
PostPosted: Wed Nov 12, 2003 7:36 am    Post subject: Carriage Return + Linefeed in eSQL? Reply with quote

Acolyte

Joined: 26 Feb 2002
Posts: 73

Hi,

We're using WMQI 2.1.

I need to identify if a 2-character string is equal to a carriage-return + a linefeed.

How to do this with eSQL?

Rgds Kjell
Back to top
View user's profile Send private message
emiranda
PostPosted: Wed Nov 12, 2003 7:45 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

The hexa x'0D0A' represents the CR/LF. You can also use the mnemonic <CR><LF>.
_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 12, 2003 7:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

emiranda wrote:
You can also use the mnemonic <CR><LF>.
Do the TDS mnemonics work in plain ESQL? I thought they only applied when setting properties on TDS message sets?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
troublemaker
PostPosted: Wed Nov 12, 2003 8:11 am    Post subject: Reply with quote

Newbie

Joined: 12 Nov 2003
Posts: 1
Location: São Paulo - Brasil

It's just set a line like:

Code:
SET OutputRoot.TEXT.field = X'0D0A';





Troublemaker,
_________________
MQ Series / MQSI Consultor
Back to top
View user's profile Send private message
emiranda
PostPosted: Wed Nov 12, 2003 8:12 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

Oh... not sure...
Have to try... I don't have WMQI in my project right now!
_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Carriage Return + Linefeed 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.