|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem in reading MQRHF2 messages |
« View previous topic :: View next topic » |
Author |
Message
|
Prithviraj |
Posted: Mon Mar 30, 2015 4:59 am Post subject: Problem in reading MQRHF2 messages |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Mar 30, 2015 5:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
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 |
|
 |
Prithviraj |
Posted: Mon Mar 30, 2015 5:15 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Mar 30, 2015 5:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|