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 » MQRFH2 - Format Property ( MQFMT_RF_HEADER_2 vs MQFMT_STRING

Post new topic  Reply to topic
 MQRFH2 - Format Property ( MQFMT_RF_HEADER_2 vs MQFMT_STRING « View previous topic :: View next topic » 
Author Message
vanessa
PostPosted: Fri Aug 13, 2004 12:11 pm    Post subject: MQRFH2 - Format Property ( MQFMT_RF_HEADER_2 vs MQFMT_STRING Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Fri Aug 13, 2004 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
vanessa
PostPosted: Wed Aug 18, 2004 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 18, 2004 11:26 am    Post subject: Reply with quote

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"
      • message 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
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 » MQRFH2 - Format Property ( MQFMT_RF_HEADER_2 vs MQFMT_STRING
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.