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 ignore a specific character? <SOLVED>

Post new topic  Reply to topic
 How to ignore a specific character? <SOLVED> « View previous topic :: View next topic » 
Author Message
billybong
PostPosted: Thu Jul 28, 2005 12:24 am    Post subject: How to ignore a specific character? <SOLVED> Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Hi all!

TDS, WBIMB 5

Im using <LF> as my delimiter but since my message set is going to be used on different platforms I would like to use <CR><LF> as well. I figured that if I could just ignore the <CR> globally and I would be safe in both cases. Is this doable or should I use two different message sets with different delimiters? One would think this would be an easy setting and it prob is, I just haven't found it yet.

Thanks in advance.


Last edited by billybong on Mon Aug 01, 2005 1:32 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
martinrydman
PostPosted: Fri Jul 29, 2005 12:59 am    Post subject: Reply with quote

Centurion

Joined: 30 Jan 2004
Posts: 139
Location: Gothenburg, Sweden

When faced with this problem, I usually define the <LF> flavor of the msg def. Then I pre-process (if reading) or post-process (if writing) the message as a BLOB, to either remove <CR> or add it.

I find it a bit of an overkill to define a separate msgset just to deal with this minor detail. Especially if you have lots of message types and/or complex structures, you end up fiddling with the delimiter all over the place. The approach I mentioned, on the other hand, can be encapsulated in two global PROCEDURES, giving you a maintanable solution.

/Martin
Back to top
View user's profile Send private message
billybong
PostPosted: Mon Aug 01, 2005 1:30 am    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Thanks for the advice martin, works like a charm.
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 ignore a specific character? <SOLVED>
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.