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 IBM MQ Support » RFH2 format, diff between MQRFH2 & MQHRF2

Post new topic  Reply to topic
 RFH2 format, diff between MQRFH2 & MQHRF2 « View previous topic :: View next topic » 
Author Message
wmquser
PostPosted: Sat Dec 06, 2008 10:03 pm    Post subject: RFH2 format, diff between MQRFH2 & MQHRF2 Reply with quote

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
View user's profile Send private message
wmquser
PostPosted: Sat Dec 06, 2008 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sun Dec 07, 2008 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Mandeep
PostPosted: Wed Dec 10, 2008 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
xhaxk
PostPosted: Wed Dec 10, 2008 1:40 pm    Post subject: Reply with quote

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
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 IBM MQ Support » RFH2 format, diff between MQRFH2 & MQHRF2
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.