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 IndexIBM MQ Telemetry / Low Latency Messaging / EveryplaceProblem in reading MQRHF2 messages

Post new topicReply to topic
Problem in reading MQRHF2 messages View previous topic :: View next topic
Author Message
Prithviraj
PostPosted: Mon Mar 30, 2015 4:59 am Post subject: Problem in reading MQRHF2 messages Reply with quote

Apprentice

Joined: 29 May 2014
Posts: 30

Hi all,

I am putting a message as MQRFH2 format into a z/OS queue, but when I am trying to get that message I am getting COMPLETION CODE 01 and REASON CODE 2110. I am putting that message via MQTT client utility, is there is any way to put that message as MQSTR ?

This is how I am getting the message from z/OS queue.

COMPUTE MQGMO-OPTIONS = MQGMO-NO-WAIT +
MQGMO-ACCEPT-TRUNCATED-MSG +
MQGMO-CONVERT +
MQGMO-FAIL-IF-QUIESCING.
MOVE MQMI-NONE TO MQMD-MSGID
MOVE MQCI-NONE TO MQMD-CORRELID
MOVE MQENC-NATIVE TO MQMD-ENCODING
MOVE MQCCSI-Q-MGR TO MQMD-CODEDCHARSETID

CALL 'MQGET' USING W03-HCONN
W03-HOBJ
MQMD
MQGMO
W00-MSGLENGTH
W00-MSGBUFFER
W00-DATALENGTH
W03-COMPCODE
W03-REASON

Please help me to resolve this issue.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 30, 2015 5:09 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 16959

What are you using to bridge MQTT to MQ?

what does the message look like on the queue before the mainframe tries to read it?
Back to top
View user's profile Send private message
Prithviraj
PostPosted: Mon Mar 30, 2015 5:15 am Post subject: Reply with quote

Apprentice

Joined: 29 May 2014
Posts: 30

Hi mqjeff,

The message is put as MQRFH2 formatted message, that i am able to see via Websphere MQ Explorer.

Could you please tell me how to solve this issue.

I know this is a Format error but I am confused on where to change and what to change.

From client utility I am putting as MQRFH2, so shall i move MQRFH2 to MQMD_FORMAT ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 30, 2015 5:17 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 16959

MQTT can't create an MQRFH2 message.

You said you were using an MQTT client to send the message.

How are you getting an MQTT message onto an MQ Queue?

Yes, if an MQ message has an MQRFH2 header, then the MQMD.Format needs to indicate that the next part of the message is an MQRFH2.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Telemetry / Low Latency Messaging / EveryplaceProblem in reading MQRHF2 messages
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.