Author |
Message
|
HaseebJunaid |
Posted: Mon Dec 31, 2001 11:23 pm Post subject: |
|
|
Newbie
Joined: 22 Aug 2001 Posts: 6 Location: Michigan
|
I am using the sample program amqsput to put a file on a queue. After the file is put on the queue, when I browse for the message I am finding some funny characters at the beginning of the message. This is then causing the get to hang up when trying to retrieve the message.
MQSeries is on unix HPUX.
Please help.
|
|
Back to top |
|
|
RogerLacroix |
Posted: Tue Jan 01, 2002 11:34 pm Post subject: |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
How do you know that there are funny characters at the beginning of the message, if your get never returns (hangs)?
Are you looking at the MQMD rather than your data?
later
Roger...
|
|
Back to top |
|
|
HaseebJunaid |
Posted: Mon Jan 07, 2002 1:17 pm Post subject: |
|
|
Newbie
Joined: 22 Aug 2001 Posts: 6 Location: Michigan
|
Using the sample program amqsbcg0 to browse the queue and I could see some weird characters in the beginning of the data. These characters are not part of the file that is put on the queue. Becuase of these characters when I use amqsget0 to get the message it doesnt return anything.
MQSeries Version 5.2
Please help me!
|
|
Back to top |
|
|
PeterPotkay |
Posted: Mon Jan 07, 2002 3:03 pm Post subject: |
|
|
Poobah
Joined: 15 May 2001 Posts: 7717
|
What Reason Code are you seeing when the get is failing?
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
|
Tibor |
Posted: Mon Jan 07, 2002 4:23 pm Post subject: |
|
|
Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
This coming maybe a chained MQ header (MQMDE).
I had already seen similar effect two weeks ago on HP-UX (what a coincidence...). The sender process set MQMD.Version to 2 and receiver worked with default MQMD setting (Version1).
But I don't understand because amqsbcg is compiled with MQMD_VERSION_2...
|
|
Back to top |
|
|
HaseebJunaid |
Posted: Tue Jan 08, 2002 1:26 pm Post subject: |
|
|
Newbie
Joined: 22 Aug 2001 Posts: 6 Location: Michigan
|
Actually I dont get any error but when I use amqsget, I have those funny characters in it and our XML parser is acting weird because of those funny characters in the beginning of the message in parsing the XML.
What did you do Tibor to fix it? Is it possible to set MQMD value manually and if so how?
Any help greatly appreciated. |
|
Back to top |
|
|
|