Posted: Fri Nov 19, 2004 9:10 am Post subject: How do I put the message in MQHRF2 format (C++)?
Newbie
Joined: 19 Nov 2004 Posts: 2
I try to put the message on the queue with the code below.
But when I use the Message Viewer to see the message, format is always in MQSTR format.
How do I change the code so that it will put it in MQHRF2 format?
Thank you.
I am using C++ calls.
--------------------------------------------------
ImqMessage mqMsg;
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
You are doing it correctly. Try passing in constant string MQHRF2bb where b is SPACE char.
Also, try to retrieve this property and print it on the screen after you set it. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
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