ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQRHF2 Change

Post new topic  Reply to topic
 MQRHF2 Change « View previous topic :: View next topic » 
Author Message
sarbajit
PostPosted: Sun Mar 26, 2006 8:40 pm    Post subject: MQRHF2 Change Reply with quote

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;
Back to top
View user's profile Send private message
kishoreraju
PostPosted: Mon Mar 27, 2006 1:07 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

The new code will work .

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
Back to top
View user's profile Send private message
sarbajit
PostPosted: Mon Mar 27, 2006 2:42 am    Post subject: Reply with quote

Acolyte

Joined: 22 May 2003
Posts: 53

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';


Pls let me know if my understanding is correct.
Back to top
View user's profile Send private message
kishoreraju
PostPosted: Mon Mar 27, 2006 2:50 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

The code that you posted is correct.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQRHF2 Change
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.