How to convert MQRFH2 to MQSTR in Websphere MQ


Moderator: Moderator Group

Post Reply
Posts: 3
Joined: Mon Mar 03, 2014 2:14 pm

How to convert MQRFH2 to MQSTR in Websphere MQ

Post by Mikku » Mon Apr 21, 2014 2:46 pm

Hi all,

I have created a topic 'test' in WebSphere MQTT Client Utility.

Then I created a topic 'test' in Qmanager 'MQTEST', in Websphere MQ.

Next step I created a Queue 'TESTQ' and then subscribed to topic 'test' with destination as "TESTQ', in Websphere MQ.

When I publish any message using MQTT Client, the message depth of the queue 'TESTQ' is increasing but every time the message received is 'RFH'.

The message format of the received messages are MQRFH2 but what I need is MQSTR. I think this is the reason why I am not receiving the original published message.

Please help me in finding a solution so that message formats are converted to MQSTR


Post Reply


Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Mainframe Interview questions

Other References
Mainframe Tools and others