Posted: Wed Apr 30, 2003 3:54 am Post subject: MQRFH2 vs MQHRF2 and more
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.................
Posted: Wed Jun 13, 2007 1:49 am Post subject: Re: MQRFH2 vs MQHRF2 and more
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.
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