|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
TDS Message SET definition problem |
« View previous topic :: View next topic » |
Author |
Message
|
abs_cal |
Posted: Fri Jan 08, 2010 2:52 pm Post subject: TDS Message SET definition problem |
|
|
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 |
|
 |
kimbert |
Posted: Sat Jan 09, 2010 1:13 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|