Posted: Fri Sep 10, 2010 12:20 pm Post subject: Resolved:Need to add a MQRFH2 Header with Msd set to jms_by
Centurion
Joined: 16 Aug 2005 Posts: 114 Location: Burlington, NC USA
WMB 6.0.0.8
Have a message in BLOB domain, that I need to add a MQRFH2 header with jms_bytes set.
What I have tried:
1. Copy Message Headers
2. Add MQRFH2 header
Code:
SET OutputRoot.MQMD.format = MQFMT_RF_HEADER_2;
SET OutputRoot.MQRFH2.mcd.Msd = 'jms_bytes';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.usr.RoutingProcessId = 'NCP_COR_XML_REQUEST';
SET OutputRoot.MQRFH2.usr.RoutingMessageType = 'Requisition';
SET OutputRoot.MQRFH2.usr.RoutingMessageFormat = 'XML';
SET OutputRoot.MQRFH2.usr.RoutingOriginatingSystem = 'BEACON';
SET OutputRoot.MQRFH2.usr.RoutingDestinationSystem = 'COR';
3. SET OutputRoot.BLOB.BLOB = InputRoot.BLOB.BLOB;
Output shows msd as None.
Last edited by wraymore on Sat Sep 11, 2010 8:11 am; edited 1 time in total
If you want a JMSBytes message it would behoove you to first set the format on the RFH2 to MQFMT_NONE instead of MQFMT_STRING (which is being set for a text message.)
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