ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Funny Characters in a queue

Post new topic  Reply to topic
 Funny Characters in a queue « View previous topic :: View next topic » 
Author Message
HaseebJunaid
PostPosted: Mon Dec 31, 2001 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Tue Jan 01, 2002 11:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
HaseebJunaid
PostPosted: Mon Jan 07, 2002 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jan 07, 2002 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tibor
PostPosted: Mon Jan 07, 2002 4:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
HaseebJunaid
PostPosted: Tue Jan 08, 2002 1:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Funny Characters in a queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.