|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
RFH2 format, diff between MQRFH2 & MQHRF2 |
« View previous topic :: View next topic » |
Author |
Message
|
wmquser |
Posted: Sat Dec 06, 2008 10:03 pm Post subject: RFH2 format, diff between MQRFH2 & MQHRF2 |
|
|
Apprentice
Joined: 20 Aug 2008 Posts: 32
|
Hi,
We are pushing message into MQ in RFH2 format. In RFH2 header, if the format is set to MQHRF2 only UTF 8 messages are successfully put into the queue. For non UTF 8 message fails with RC 2334. If the RFH2 header format is set to MQRFH2 then both UTF 8 & non UTF 8 are sucessful.
Could any one let me know the difference between the RFH2 format - MQRFH2 & MQHRF2. |
|
Back to top |
|
 |
wmquser |
Posted: Sat Dec 06, 2008 10:17 pm Post subject: |
|
|
Apprentice
Joined: 20 Aug 2008 Posts: 32
|
I am using IBM Websphere Datastage TX v8 (formerly know as mercator) to post messages into the queue. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Dec 07, 2008 11:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Check up the constants in MQC.MQFMT* You should find a value for the RFH header.
As to what the code set that works for the message content... you need to read up on MQ Header. The MQ headers are chained starting with the MQMD.
Each header contains the CCSID for the next portion of the message.
Note that for the usr folder on the RFH header only a select number of CCSIDs are valid and 1208 or UTF-8 is one of them.
The RFH header has 2 CCSID fields. The first one indicates the CCSID of the next portion of the message. It has also a field for the format of the next portion it could be text (MQC.MQFMT_STRING). The second CCSID field describes the code set for the usr folder on the RFH header.
Read up on the programing reference and manual and understand the implications of format and CCSID
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Mandeep |
Posted: Wed Dec 10, 2008 1:25 pm Post subject: |
|
|
Apprentice
Joined: 03 May 2004 Posts: 33
|
I remember that I noticed this MQHRF2 during MQSI NEON implementation days, and I was told that this is how it is spelled possibly by mistake, but it was not rectified till long time.
May be now its rectified MQRFH2, and the old MQHRF2 is still supported for backward compatabilty only. But shouldn't be any difference between the two. |
|
Back to top |
|
 |
xhaxk |
Posted: Wed Dec 10, 2008 1:40 pm Post subject: |
|
|
Apprentice
Joined: 30 Oct 2008 Posts: 31
|
MQHRF2 is the format string.
there is no such string as MQRFH2
the eyecatcher of the RFH2 header is RFH, and the version number is 2 |
|
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
|
|
|
|