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 Discussion » Adding MQRFH to the message

Post new topic  Reply to topic
 Adding MQRFH to the message « View previous topic :: View next topic » 
Author Message
rmohanr
PostPosted: Thu Apr 24, 2003 10:39 am    Post subject: Adding MQRFH to the message Reply with quote

Novice

Joined: 02 Jan 2002
Posts: 12

How to add MQRFH headed to the message while PUT into the QUE.
I am using VB. Example appreciated
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 24, 2003 11:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to manually build the RFH from the constituent fields, one at a time. And manually set the appropriate fields in the MQMD to indicate that there is an RFH in the message.

The documentation on RFH's will tell you what fields you need to add, and how to set the MQMD.

Setting each field is accomplished in VB the same way you set a field in the MQMD.
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Apr 24, 2003 12:47 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I know it isn't VB, but there is a C sample at:

http://www.developer.ibm.com/tech/sampmq.html

Try looking at jsmqput.c.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
rmohanr
PostPosted: Thu Apr 24, 2003 2:42 pm    Post subject: MQRFH2 -- Reply with quote

Novice

Joined: 02 Jan 2002
Posts: 12

Guys !
This forum is awesome~

I got it. I am exactly doing the same thing as metioned in the "C" example.

I will post my code for others purpose once evrything is completed. I need to add my JMS Properties to the header.


Catch you 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 Discussion » Adding MQRFH to the message
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.