Posted: Sun Mar 26, 2006 8:40 pm Post subject: MQRHF2 Change
Acolyte
Joined: 22 May 2003 Posts: 53
I am using WBIMB5.0. Previously we used to receive XML message from source and send 'jms_text' message to destination. Used RCD node to achive the same.There was no message set associated.
Now we are incorporating message set (generated from BO as deployed as message set by system manager). My question is that to send the same message as previous 'jms_text' what should we do. Thanks in advance.
Previous ESQL:
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format= MQFMT_STRING;
SET OutputRoot.MQRFH2.(MQRFH2.Field)"Encoding" = 273;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
SET OutputRoot.MQRFH2.mcd.Type = 'jms_text';
New ESQL:
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR ';
SET OutputRoot.MQRFH2.mcd.Msd = 'mrm';
SET OutputRoot.MQRFH2.mcd.Set = 'CBOJDD0002001';
SET OutputRoot.MQRFH2.mcd.Type = test;
SET OutputRoot.MQRFH2.mcd.Fmt = 'CwXML';
SET OutputRoot.MQMD.Format = 'MQHRF2 ';
SET OutputRoot.MQRFH2.(MQRFH2.Field)"Encoding" = 273;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
make sure when your creating the physical format for the messageset you have to select XML.
wht is the message domain that you are using in the ESQL to model your message . if you are using MRM the n you have to provide that messageset into in InputRoot.Properties.MessageDomain ect for the outgoing message
Thanks. MRM is used as message domain in the ESQL to model message.
Does it mean that MQRHF2 headers will be same as previous?
SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
SET OutputRoot.MQRFH2.mcd.Type = 'jms_text';
and additionaly I need to add these lines
SET OutputRoot.Properties.MessageSet = 'CBOJDD0002001';
SET OutputRoot.Properties.MessageType = 'TEST';
SET OutputRoot.Properties.MessageFormat='CwXML';
SET OutputRoot.Properties.MessageDomain = 'MRM';
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