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 » General IBM MQ Support » MQ header format

Post new topic  Reply to topic
 MQ header format « View previous topic :: View next topic » 
Author Message
chandu85
PostPosted: Thu Dec 01, 2011 7:17 am    Post subject: MQ header format Reply with quote

Newbie

Joined: 28 Nov 2011
Posts: 7

Hi Guys,

I have some basic question on MQ Header ,

In what format data should be placed in MQ,from manuals this is my understanding MQ data = Header + data ( both from placeing the data into the queue and recieving data from the queue ).

Header = MQMD ( MQ message descriptor ) + data.

but i have seen MQRFH2 , I have not understand it and confused on Header part.

Could you please help me on this.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 01, 2011 7:25 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Do a bit of research. Search google for MQMD structure. It is well-documented. Look also in the WMQ Application Programming Reference documentation.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 01, 2011 7:41 am    Post subject: Re: MQ header format Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chandu85 wrote:
Header = MQMD ( MQ message descriptor ) + data.

but i have seen MQRFH2 , I have not understand it and confused on Header part.


The header (as you post it) is the MQMD. It appears on all messages, fields you don't provide (using the methods explained in the document my worthy associate mentions) are provided by the queue manager (according to rules explained in the same document).

There are other, optional headers, you can include with the data. The MQRFH2 is one such. It's not a header in the strict WMQ sense of the word because it's part of the message payload but a header on your data.

The MQRFH2 and all the other optional headers are likewise explained in the referred document.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 01, 2011 7:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also, MQRFH2 headers only apply to MQ version 6 and earlier. Use message properties in MQ v7 and later.
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 » General IBM MQ Support » MQ header format
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.