|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
The MQRFH2 header revisited |
« View previous topic :: View next topic » |
Author |
Message
|
Boolean |
Posted: Wed Nov 26, 2003 1:26 am Post subject: The MQRFH2 header revisited |
|
|
Acolyte
Joined: 05 Jun 2003 Posts: 56 Location: Sweden
|
I know this is a dear subject but,
When creating a RFH2 header (with usr fields) from scratch, what are the MINIMUM fields required for this header?
I.e. what code do I need to add (minimum) in order to get the header working?
And in addition to the header, does it suffer to change the FORMAT of the header preceeding the RFH2 header, or does anything else have to be done? _________________ / Boolean |
|
Back to top |
|
 |
Missam |
Posted: Wed Nov 26, 2003 8:41 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi,
I Think Creating RFH2 Header with Version =2 and Format = MQFMT_RFH_HEADER_2 will be sufficient to work.
Thanx
Sam |
|
Back to top |
|
 |
EddieA |
Posted: Wed Nov 26, 2003 9:44 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Ok, the one I build has:
Code: |
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = "Format of data following RFH2";
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208; |
WMQI should set the format in the MQMD correctly when it finds the RFH2 structure.
You'll also need to set something 'else', probably in the 'usr' folder. Otherwise, what use is the RFH2.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Boolean |
Posted: Thu Nov 27, 2003 12:01 am Post subject: |
|
|
Acolyte
Joined: 05 Jun 2003 Posts: 56 Location: Sweden
|
Ok, I added the fields
[size=9]SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = InputRoot.MQMD.CodedCharSetId;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = InputRoot.MQMD.Encoding;[/size]
as well.
Thank's for the replies! _________________ / Boolean |
|
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
|
|
|
|