Author |
Message
|
tanishka |
Posted: Sun Oct 24, 2010 4:51 am Post subject: |
|
|
Centurion
Joined: 24 Nov 2008 Posts: 144
|
Hi MQ mind/TDS_tds_tds,
I am getting same probem MTI. http://www.mqseries.net/phpBB2/viewtopic.php?t=11050
Not all the buffer was used when reading message.
My flow design like this.
MQ input --> compute node --> MQ output.
Mq input node receiving EDI message format. In compute node i am mapping to XML.
In unit test, when i putting message from rfhutil. it is working fine. But integration testing i am getting this problem. Please help here. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Sun Oct 24, 2010 4:56 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
The solution will be the same as it was all them years ago.
As you have a working message, have you compared it to the message sent from the other system and looked for differences?
What did you find how does this compare to your message set? |
|
Back to top |
|
 |
tanishka |
Posted: Sun Oct 24, 2010 7:42 am Post subject: |
|
|
Centurion
Joined: 24 Nov 2008 Posts: 144
|
Nothing i found the difference in input message.
Expect PC format and UNIX format. |
|
Back to top |
|
 |
tanishka |
Posted: Sun Oct 24, 2010 8:14 am Post subject: |
|
|
Centurion
Joined: 24 Nov 2008 Posts: 144
|
The example input message
|HDR|11111112222222222
|SHP|3333344445555
|ITM|117788888999999000008888
TDS Message set configuration
Data element seperation: TaggedDelimited
Group terminator: <CR><LF>
Delmiator: <CR><LF>
Length of Tag : 5
The above configuration working fine for PC message format. Not working for UNIX file format. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Oct 24, 2010 9:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
tanishka wrote: |
The example input message
|HDR|11111112222222222
|SHP|3333344445555
|ITM|117788888999999000008888
TDS Message set configuration
Data element seperation: TaggedDelimited
Group terminator: <CR><LF>
Delmiator: <CR><LF>
Length of Tag : 5
The above configuration working fine for PC message format. Not working for UNIX file format. |
Please do not reopen a 4 year old post but create your own and refer to it.
Split from old post.
As to your problem, it is quite easy. Typically Unix files have only a <LF> (hex 0a) where on a PC you will get <CR><LF> (hex 0d0a)
You might want to send the message with MQMD-FORMAT set to MQFMT-NONE to keep the <CR><LF> delimiter and CCSID.
Have fun.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tanishka |
Posted: Tue Oct 26, 2010 9:07 am Post subject: |
|
|
Centurion
Joined: 24 Nov 2008 Posts: 144
|
Thanks fjb_saper, That was resolved my issue. |
|
Back to top |
|
 |
|