View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
What MQ call do I use to retrieve the message MQRFH2? The reference guide details the layout for this structure but the programming guide doesn't say how to use this. This is for MQ version 6. I don't need sample code - just where in a manual to research this. |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
I am working with a colleague who is using Java Message services. He is doing the below before doing a PUT:
Code: |
message.setStringProperty(ResponseType.PROPERTY_RESPONSE_TYPE, responseCode); |
The message is to be sent to Websphere version 6 on z/OS. I am looking for a way to GET the message and retrieve the properties. The MQ manuals don't say how to do this. From what I have read via Google is that I have to use the MQRFH data structure. It doesn't say how to get this.
I am familiar with COBOL. I am not sure what language will be used for the final production. I am curious if this is possible in COBOL. Anyone have experience with this? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
If you browse the message, you'll see that the start of the data is the MQRFH2. So, to access the message itself you need to offset by the length of the MQRFH2.
Garry. |
|
Back to top |
|
|
|