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 » TDS Message SET definition problem

Post new topic  Reply to topic
 TDS Message SET definition problem « View previous topic :: View next topic » 
Author Message
abs_cal
PostPosted: Fri Jan 08, 2010 2:52 pm    Post subject: TDS Message SET definition problem Reply with quote

Acolyte

Joined: 18 Aug 2005
Posts: 62

I have message like this using TDS to parse this

2BOY LIKES BLUE(CRLF)
3GIRL LIKES PINK(CRLF)
|I LIKE THIS(CRLF)
1SHE LIKES HOT(CRLF)
3HE LIKES COLD(CRLF)

In the above message set, I want to remove leading number(1,2,3) only, Not the pipe(|) one.

BOY LIKES BLUE(CRLF)
GIRL LIKES PINK(CRLF)
|I LIKE THIS(CRLF)
SHE LIKES HOT(CRLF)
HE LIKES COLD(CRLF).


Thanks for your knowledge!!!
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Jan 09, 2010 1:13 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You need to supply more information. So far, your requirement could be stated as 'Remove leading digits from all lines.The line break character is cr/lf.'. If that is all you need, you may as well use ESQL and string manipulation functions to do it.
If you really need to create a message set, please describe your input and output message formats in *tedious* detail. Leave out nothing. In particular, describe exactly what the | means and how it should be processed. Can there be more than one | for a single field?
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 » TDS Message SET definition problem
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.