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 » IBM MQ API Support » Reason code 2334

Post new topic  Reply to topic
 Reason code 2334 « View previous topic :: View next topic » 
Author Message
JoshGeorge
PostPosted: Fri Aug 17, 2007 9:42 pm    Post subject: Reason code 2334 Reply with quote

Newbie

Joined: 17 Aug 2007
Posts: 3
Location: Melbourne

Hello All,

I'm using WebSphere® Datastage which uses WebSphere® MQ API to read/write messages.

Problem: While writing a XML message with MQHRF2 Header using MQ API I'm getting the following RFH error: "Failed to put message on the queue. Reason code 2334". Same message I'm able to succesfully write using MQSTR Format.

Can any one throw some light on why this is happening this way?
_________________
Joshy George
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Sat Aug 18, 2007 2:29 pm    Post subject: Reply with quote

Grand High Poobah

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

Mr Google suggests this:

Quote:

Problem
Your WebSphere® MQ subscriber application is getting the following RFH error:

2334 0x0000091e MQRC_RFH_ERROR


Cause
Incorrect settings for the format field in the MQMD and RFH2 structures.

Solution
The format of the MQMD structure should be MQHRF2
The format of the RFH2 structure should be MQSTR


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JoshGeorge
PostPosted: Sun Aug 19, 2007 3:42 am    Post subject: Reply with quote

Newbie

Joined: 17 Aug 2007
Posts: 3
Location: Melbourne

Thanks Vitor!!
I got the below information also:

For RFH error code 2334 - MQRC_RFH_ERROR

Reason code - an MQPUT or MQPUT1 call was issued, but the message data contains an MQRFH or MQRFH2 structure that is not valid.
or

Value of the CCSID (Coded Character Set Identifier) is 0.

Maybe targClient is set to accept only MQSTR format or a different MQHRF2 format? Or message data contains wrong format?
_________________
Joshy George
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Sun Aug 19, 2007 8:20 am    Post subject: Reply with quote

Grand High Poobah

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

AFAIK TARGCLIENT only affects the inclusion (or not) of an RFH2 in an outbound message, to allow compatability with non-JMS applications.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Aug 19, 2007 9:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It seems pretty clear that you aren't setting the right values for MQMD.Format and the Format field on the MQRFH2.

You should be using named constants for both of these.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaq.doc/csqzaq00124.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoshGeorge
PostPosted: Mon Aug 20, 2007 2:55 am    Post subject: Reply with quote

Newbie

Joined: 17 Aug 2007
Posts: 3
Location: Melbourne

Thanks. That was really helpful.

Cheers
_________________
Joshy George
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Reason code 2334
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.