Author |
Message
|
JoshGeorge |
Posted: Fri Aug 17, 2007 9:42 pm Post subject: Reason code 2334 |
|
|
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 |
|
 |
Vitor |
Posted: Sat Aug 18, 2007 2:29 pm Post subject: |
|
|
 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 |
|
 |
JoshGeorge |
Posted: Sun Aug 19, 2007 3:42 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Sun Aug 19, 2007 8:20 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Sun Aug 19, 2007 9:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
JoshGeorge |
Posted: Mon Aug 20, 2007 2:55 am Post subject: |
|
|
Newbie
Joined: 17 Aug 2007 Posts: 3 Location: Melbourne
|
Thanks. That was really helpful.
Cheers _________________ Joshy George |
|
Back to top |
|
 |
|