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 IBM MQ Support » MQGET in RPGLE giving junk values.

Post new topic  Reply to topic
 MQGET in RPGLE giving junk values. « View previous topic :: View next topic » 
Author Message
anilmnair
PostPosted: Tue Mar 10, 2009 10:48 am    Post subject: MQGET in RPGLE giving junk values. Reply with quote

Newbie

Joined: 10 Mar 2009
Posts: 4

I am in the process of creating an MQ parser program in RPGLE. After MQGET wit reason code = o, i see that the buffer is consisting of junk data. I am able to see the messages using the WRKMQMQ option. Please suggest any solutions.
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Tue Mar 10, 2009 10:50 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

Who put the messages there? What is the CCSID? Did you try a get with convert?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 10, 2009 10:53 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Define junk data.

What did the message look like in the queue after the MQPUT, but before the MQGET? MQMD and application data.

What did the data in the buffer look like after the MQGET?

Did the message originate on the same qmgr? Or a different qmgr with a different code-page?

Post some of the BEFORE and AFTER data in hex here.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
anilmnair
PostPosted: Wed Mar 11, 2009 10:17 am    Post subject: Reply with quote

Newbie

Joined: 10 Mar 2009
Posts: 4

An MQGET with Convert solved the problem. The CCSID was different as the message was put from a different system.
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 IBM MQ Support » MQGET in RPGLE giving junk values.
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.