|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
RFH2 Custom Folder within a Compute node |
« View previous topic :: View next topic » |
Author |
Message
|
Testo |
Posted: Wed Sep 17, 2003 7:17 am Post subject: RFH2 Custom Folder within a Compute node |
|
|
 Centurion
Joined: 26 Feb 2003 Posts: 120 Location: Italy - Milan
|
I'm required to add a MQRFH2 header with the following structure:
<ComIbmDni>
<Version>1.0</Version>
<OU>DNFSYSOU</OU>
<Dnf>
<Version>1.0</Version>
<SAG>
<SAGInstance>
<QMgr></QMgr>
<RequestQueue></RequestQueue>
</SAGInstance>
<SAGHeader>
<EnvMode>
<ClientSend>BodyEnv</ClientSend>
<ClientReceive>BodyEnv</ClientReceive>
</EnvMode>
</SAGHeader>
</SAG>
</Dnf>
</ComIbmDni>
I have coded this into the following eSQL code
SET OutputRoot.MQMD.Format = MQFMT_RF_HEADER_2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Version = '1.0';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.OU = 'CIPBOU';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Dnf.Version = '1.0';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Dnf.SAG.SAGInstance.QMgr = '<nameQMgr>';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Dnf.SAG.SAGInstance.RequestQueue = '<nameQueue>';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Dnf.SAG.SAGInstance.RequestQueue = '<nameQueue>';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Dnf.SAG.SAGHeader.EnvMode.ClientSend = 'NoEnv';
SET OutputRoot.MQRFH2.(MQRFH2.Field)ComIbmDni.Dnf.SAG.SAGHeader.EnvMode.ClientReceive = 'NoEnv';
but I'm not experienced at all in MQRFH2, so I would appreciate some help!
Thanks in advance!
Andrea Tedone
IBM AMS EMEA |
|
Back to top |
|
 |
EddieA |
Posted: Wed Sep 17, 2003 8:52 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Warning. Not tested, but try:
Code: |
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.ComIbmDni.Version = '1.0';
SET OutputRoot.MQRFH2.ComIbmDni.OU = 'CIPBOU';
SET OutputRoot.MQRFH2.ComIbmDni.Dnf.Version = '1.0';
SET OutputRoot.MQRFH2.ComIbmDni.Dnf.SAG.SAGInstance.QMgr = '<nameQMgr>';
SET OutputRoot.MQRFH2.ComIbmDni.Dnf.SAG.SAGInstance.RequestQueue = '<nameQueue>';
SET OutputRoot.MQRFH2.ComIbmDni.Dnf.SAG.SAGInstance.RequestQueue = '<nameQueue>';
SET OutputRoot.MQRFH2.ComIbmDni.Dnf.SAG.SAGHeader.EnvMode.ClientSend = 'NoEnv';
SET OutputRoot.MQRFH2.ComIbmDni.Dnf.SAG.SAGHeader.EnvMode.ClientReceive = 'NoEnv';
|
In other words, remove the (MQRFH2.Field) from the 'data'.
Did you want that 'as-is', or did you expect it to be within the <usr> folder. If you want it in the <usr>, then add .usr. between MQRFH2 and ComIbmDni.
Cheers _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Testo |
Posted: Thu Sep 18, 2003 12:48 am Post subject: Thanks! |
|
|
 Centurion
Joined: 26 Feb 2003 Posts: 120 Location: Italy - Milan
|
Thank you so much Eddie for your suggestions, they are very useful and I was able to perform some tests this morning because of your help.
Cheers,
Andrea Tedone
IBM AMS EMEA |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|