Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need a java code to convert MQHF2 to MQSTR

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Midhun Mohandas

New User


Joined: 03 Mar 2014
Posts: 24
Location: India

PostPosted: Fri Apr 25, 2014 11:07 am    Post subject: Need a java code to convert MQHF2 to MQSTR
Reply with quote

Hi all,

I have a java program to publish messages to a particular topic using MQTT.

I am subscribing to the same topic from Websphere MQ and putting that messages into a queue in windows.

Now my problem is, all the messages in that queue is MQRHF2 format, and so when I browse that queue all message data is shown as "RFH' and not the message that I publish using java code.

Please help me to solve the issue so that I can get the messages in MQ as MQSTR format rather than MQRHF2.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 25, 2014 11:49 am    Post subject:
Reply with quote

Is this the same topic :

http://ibmmainframes.com/viewtopic.php?t=62722&highlight=

If yes, why post a new topic?
Back to top
View user's profile Send private message
Midhun Mohandas

New User


Joined: 03 Mar 2014
Posts: 24
Location: India

PostPosted: Fri Apr 25, 2014 12:50 pm    Post subject:
Reply with quote

Dear PeterHolland,

Here I am asking a java code and previously I was asking for some settings that needs to be done.icon_smile.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Apr 25, 2014 5:28 pm    Post subject:
Reply with quote

Midhun,
you should look at IBM DEVELOPERWORKS website.
https://www.ibm.com/developerworks/ibmi/
or simply
https://www.ibm.com/developerworks
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1626
Location: NY,USA

PostPosted: Sat Apr 26, 2014 2:17 am    Post subject:
Reply with quote

Midhun,

How do you think both the topics are different as at the end, I see you would like to know conversion from MQRHF2 to MQSTR?

However, what have you got from the links that we have shared till now
? Were they helpful to get started?

Also see if below link helps you,

https://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm25524_.htm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 1 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us