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 » RFH2 Custom Folder within a Compute node

Post new topic  Reply to topic
 RFH2 Custom Folder within a Compute node « View previous topic :: View next topic » 
Author Message
Testo
PostPosted: Wed Sep 17, 2003 7:17 am    Post subject: RFH2 Custom Folder within a Compute node Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
EddieA
PostPosted: Wed Sep 17, 2003 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Testo
PostPosted: Thu Sep 18, 2003 12:48 am    Post subject: Thanks! Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » RFH2 Custom Folder within a Compute node
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.