|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Problem with parsing tagged delimited messages |
« View previous topic :: View next topic » |
Author |
Message
|
kimbert |
Posted: Tue Jun 27, 2006 7:30 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
but in my file out, the message was with a space on the second line, before the first Item1.. and i don´t know why. |
I'm not sure that I understand the problem. Are you saying that you want your output to look like this:
Code: |
[ Header ] Field01 Field03 Field03 ...
[ Itens1 ] Filed01 Field02 Field03 ...
[ Itens2 ] Filed01 Field02 Field03 ...
[ Itens3 ] Filed01 Field02 Field03 ... |
...but it looks like this?
Code: |
[ Header ] Field01 Field03 Field03 ...
[ Itens1 ] Filed01 Field02 Field03 ...
[ Itens2 ] Filed01 Field02 Field03 ...
[ Itens3 ] Filed01 Field02 Field03 ... |
Please give a few more details, and tell us what your your message set looks like. |
|
Back to top |
|
 |
jesieltrevisan |
Posted: Tue Jun 27, 2006 8:59 am Post subject: |
|
|
Novice
Joined: 21 Mar 2006 Posts: 13
|
kimbert wrote: |
Quote: |
but in my file out, the message was with a space on the second line, before the first Item1.. and i don´t know why. |
I'm not sure that I understand the problem. Are you saying that you want your output to look like this:
Code: |
[ Header ] Field01 Field03 Field03 ...
[ Itens1 ] Filed01 Field02 Field03 ...
[ Itens2 ] Filed01 Field02 Field03 ...
[ Itens3 ] Filed01 Field02 Field03 ... |
...but it looks like this?
Code: |
[ Header ] Field01 Field03 Field03 ...
[ Itens1 ] Filed01 Field02 Field03 ...
[ Itens2 ] Filed01 Field02 Field03 ...
[ Itens3 ] Filed01 Field02 Field03 ... |
Please give a few more details, and tell us what your your message set looks like. |
yeep... this is my problem... an space in the second line...
The line is terminate with <CR><LF> in end of each line.
But, i don´t know why have a space in the second line...
 _________________ Analista de Sistemas.
J2EE, WebSphere MQSI Skill´s
----------------------------------------------------
Brazil [<O>] |
|
Back to top |
|
 |
dsriksha |
Posted: Tue Jun 27, 2006 1:02 pm Post subject: |
|
|
 Voyager
Joined: 27 Feb 2005 Posts: 95
|
If you manually edit the CR/LF say in text file , can encounter such problem. I think with or without spaces you can parse the message.
try and see if you getting any error messages post here. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Jun 28, 2006 12:52 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
and tell us what your your message set looks like. |
The extra space could be caused by many different things. I cannot help you at all until you provide this information. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|