I am receiving a message on UNIX with an RFH2 header on and want to strip the haeder off and send it to an application running on MVS.
The code I am using is:
SET OutputRoot.MQRFH2 = NULL
SET OutputRoot.MQMD.Format = 'MQSTR';
However, the application running on MVS fails with a 2111 code.
When the message came in without the header on and I simply did a bit of reformatting then delivered the message it worked fine !!
Any ideas ?
You don't say if you "copy message header" or "copy entire message" in the compute node.
If you do neither of these then the output message should not be affected by different message headers in the input message. Just build the new output headers as needed.
Remember to construct the MQMD before the MQRFH2 (if any)and before the message body.
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