|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRFH2 - Format Property ( MQFMT_RF_HEADER_2 vs MQFMT_STRING |
« View previous topic :: View next topic » |
Author |
Message
|
vanessa |
Posted: Fri Aug 13, 2004 12:11 pm Post subject: MQRFH2 - Format Property ( MQFMT_RF_HEADER_2 vs MQFMT_STRING |
|
|
Novice
Joined: 24 Jan 2002 Posts: 22
|
hi all,
This message flow i have outputs MRM messages ..... & i have to include some MQRFH2 headers.
i already set MQMD.Format as MQFMT_RF_HEADER_2.
i am confused abt setting the MQRFH2 's FORMAT property.
can some one please tell me when to assign MQFMT_RF_HEADER_2 vs MQFMT_STRING .......
Have a good weekend. |
|
Back to top |
|
 |
EddieA |
Posted: Fri Aug 13, 2004 1:28 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The Format field describes what the data "following" this header is. So, if you set the MQMD Format to be MQFMT_RF_HEADER_2, you are saying that an RFH2 header is next. So, in the Format field of the RFH2, you set the format of the data that follows. If the data is all character, then MQFMT_STRING is the one to use.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
vanessa |
Posted: Wed Aug 18, 2004 11:19 am Post subject: |
|
|
Novice
Joined: 24 Jan 2002 Posts: 22
|
Thanks Eddie for the reply.
But the question was not about the MQMD.Format.I'm clear about it.
Question was about MQRFH2.Format values .......
the reason why i ask is ......i'm sending out TDS format data out of compute node and also need to send some RFH2 headers to be used by downstream applications. Initially, I set MQRFH2.Format = 'MQFMT_RF_HEADER_2' then I started seeing below errors :
Quote: |
AMQ6174: The library /var/mqm/exits//MQHRF2 was not found. The queue manager
will continue without this module.
EXPLANATION:
The dynamically loadable file /var/mqm/exits//MQHRF2 was not found.
ACTION:
Check that the file exists and is either fully qualified or is in the
appropriate directory. |
When I changed MQRFH2.Format to 'MQFMT_STRING' ....... it worked.
This is not the way I expected it to work.... why do I need to set it MQFMT_STRING rather than MQFMT_RF_HEADER_2 ?? Am I missing some basics here ??
pls tell me ... |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 18, 2004 11:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The Format field in each header tells you what the format of the CONTENTS of the message described by the header will be.
So, when the message has these sections: MQMD, MQRFH2, BODY, then the Format of the MQMD needs to specify MQRFH2, and the Format of the MQRFH2 needs to specify the Format of the BODY.
Think of it like this: - MQMD Header
- "MQMD Body"
- MQRFH2 Header
- "MQRFH2 Body"
But the bodys are only "implied" - being marked by a blank line in the transport. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|