Author |
Message
|
Scorpio_16 |
Posted: Tue Oct 27, 2009 5:12 am Post subject: Data getting corrupted |
|
|
Apprentice
Joined: 15 Dec 2008 Posts: 25
|
Hi
we have an issue where the data that is being sent through Broker to the destination server is getting corrupted. The Broker user trace logs say that the data is correctly formatted and put to MQ queue which is a remote q. when I see the data on destination queue, the first column looks weird. The output message set is quite simple and is comma delimited.
the output looks as shown below. there are several . (dots) before value 016382
d.t.=.".s.t.r.i.|
00140 6E 00 67 00 22 00 3E 00--54 00 44 00 53 00 5F 00 |n.g.".>.T.D.S._.|
00150 43 00 4F 00 4D 00 4D 00--41 00 3C 00 2F 00 46 00 |C.O.M.M.A.<./.F.|
00160 6D 00 74 00 3E 00 3C 00--2F 00 6D 00 63 00 64 00 |m.t.>.<./.m.c.d.|
00170 3E 00 20 00 20 00 20 00--30 31 36 33 38 32 2C 42 |>. . . .016382,B
Any idea what is causing this ?
Thanks |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Tue Oct 27, 2009 5:37 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Its in UTF-16?
EDIT: Just seen Jeffs response, that makes more sense, I was referring to the other dots earlier in the message 
Last edited by WMBDEV1 on Tue Oct 27, 2009 5:40 am; edited 2 times in total |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 27, 2009 5:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
That looks like the tail end of an MQRFH2 header. |
|
Back to top |
|
 |
Scorpio_16 |
Posted: Tue Oct 27, 2009 5:45 am Post subject: |
|
|
Apprentice
Joined: 15 Dec 2008 Posts: 25
|
Correct its the RFH2 header at the beginning.
Further Info:
Broker V6.1 is built on solaris. MQ version 7.0.1.
Destiantion server is Windows, MQ v6.0.2.3
Thanks |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Oct 27, 2009 5:51 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
So what does the MQMD look like?
rfhutil is a good tool to help with these things. Support pack ih03.
What you have shown does look like UFT-16. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 27, 2009 5:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Why do you think those spaces are at the START of the message and not at the END of the RFH2?
The RFH2 Header has to be padded to an even 4 byte length. |
|
Back to top |
|
 |
Scorpio_16 |
Posted: Tue Oct 27, 2009 6:11 am Post subject: |
|
|
Apprentice
Joined: 15 Dec 2008 Posts: 25
|
Broker User trace log clearly says that the first field is assigned with the value 10016382. I can even see this on the transmit queue(stopped the channel). But this value is changing once it reaches the destination queue. |
|
Back to top |
|
 |
|