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 » MQRFH2 vs MQHRF2 and more

Post new topic  Reply to topic
 MQRFH2 vs MQHRF2 and more « View previous topic :: View next topic » 
Author Message
rmohanr
PostPosted: Wed Apr 30, 2003 3:54 am    Post subject: MQRFH2 vs MQHRF2 and more Reply with quote

Novice

Joined: 02 Jan 2002
Posts: 12

I am using peoplesoft Integration broker (which is a kinda JMS client).
which is posting a mq message with MQHRF2 format.
I am MQ Active X in VB and trying to post a message with MQHRF2 and I m getting value not found in table error.

If I use MQRFH2 format I am NOT getting any error. What is difference between RFH and HRF?? or those are same.

Another question is

I need to put MQRFH2 + JMS header + message in the queue.
Can I do the following to achieve above?
string1 = RFH.........MQSTR......
string2= <JMS>....</JMS><USR>....</USR>
String3 = Mymessage

String = string1 + String2 + String3
MQPUT String
can I Concatnate these strings and do MQPUT in the message.?
HELP PLEASE.................
Back to top
View user's profile Send private message
carfield
PostPosted: Wed Jun 13, 2007 1:02 am    Post subject: Reply with quote

Novice

Joined: 30 May 2007
Posts: 13
Location: Hong Kong

Yes, is the new HEADER is better??
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed Jun 13, 2007 1:49 am    Post subject: Re: MQRFH2 vs MQHRF2 and more Reply with quote

Grand High Poobah

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

rmohanr wrote:
If I use MQRFH2 format I am NOT getting any error. What is difference between RFH and HRF?? or those are same.


One's a typo?

rmohanr wrote:

Another question is

I need to put MQRFH2 + JMS header + message in the queue.
Can I do the following to achieve above?
string1 = RFH.........MQSTR......
string2= <JMS>....</JMS><USR>....</USR>
String3 = Mymessage

String = string1 + String2 + String3
MQPUT String
can I Concatnate these strings and do MQPUT in the message.?
HELP PLEASE.................


Be aware of 2 things:

1) The part you call "string1" contains binary data (packed numbers).
2) It also contains the total length of the header, including your "string2" data. You'll need to calculate this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Jun 13, 2007 7:02 am    Post subject: Re: MQRFH2 vs MQHRF2 and more Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

rmohanr wrote:

If I use MQRFH2 format I am NOT getting any error. What is difference between RFH and HRF?? or those are same.


While MQHRF2 is what is in the format field of the MQMD, the actual header is named MQRFH2.

Well at least that's true for a MQ Message. Not to sure about a JMS message though.
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 » MQRFH2 vs MQHRF2 and more
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.