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 » The MQRFH2 header revisited

Post new topic  Reply to topic
 The MQRFH2 header revisited « View previous topic :: View next topic » 
Author Message
Boolean
PostPosted: Wed Nov 26, 2003 1:26 am    Post subject: The MQRFH2 header revisited Reply with quote

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
View user's profile Send private message
Missam
PostPosted: Wed Nov 26, 2003 8:41 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Nov 26, 2003 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Boolean
PostPosted: Thu Nov 27, 2003 12:01 am    Post subject: Reply with quote

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
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 » The MQRFH2 header revisited
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.