|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
problem to define message type for comma separated value |
« View previous topic :: View next topic » |
Author |
Message
|
lium |
Posted: Fri Feb 05, 2010 2:59 pm Post subject: problem to define message type for comma separated value |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
I need to define a message type for comma separation values as
XXXX,XXXX,XXXX
XXXX,XXXX,XXXX
It can be unbound in a message, each record is one line.
all element is comma separated except last element ending with <CR><LF>
I defined a TDS message set, the problem is the <CR><LF> is not recognized, and the last element will stop at the next comma.
for example:
aaa,bbb
ccc,ddd
The second element will be bbb\r\nccc
Any solution for this?
Great Tx |
|
Back to top |
|
 |
kimbert |
Posted: Fri Feb 05, 2010 3:49 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
This is a straightforward problem to solve. There are examples of CSV messages in the Samples Gallery - I suggest that you import one of those and look at how it has been modelled. |
|
Back to top |
|
 |
lium |
Posted: Fri Feb 05, 2010 9:02 pm Post subject: |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
Thanks a lot, problem solved, it is a small configuration but costs me a lot of effort |
|
Back to top |
|
 |
er_pankajgupta84 |
Posted: Thu Feb 11, 2010 1:14 pm Post subject: |
|
|
 Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
|
It is a good practice to post your solutions, if you find one, and share with others. |
|
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
|
|
|
|