MQ Message

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
info_ds
Charter Member
Charter Member
Posts: 88
Joined: Thu Feb 10, 2005 4:36 am
Location: B\'lore

MQ Message

Post by info_ds »

Hi All,

I am trying to write a xml message using MQHRF2 Header to a MQ using Datastage MQ plugin.My job is getting aborted with a message "Failed to put message on the queue. Reason code 2334".If i write the same message using MQSTR Format the job is running sucessfully.

My question -Is there any cloumn and data elements that has to be mentioned while writing a message to MQ using MQHRF2 header?
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

You already tried with the option MQMD (message descriptor) -> MQ Message Format - MQHRF2 rite? Maybe targClient is set to accept only MQSTR format or a different MQHRF2 format? Or message data contains wrong format?

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
Ref. this Linkalso.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
info_ds
Charter Member
Charter Member
Posts: 88
Joined: Thu Feb 10, 2005 4:36 am
Location: B\'lore

Post by info_ds »

Hi Friend,

Thanks for ur response.

Can you pls tell me what are the columns that are mandatory for sending a message using MQHRF2 header ?
My job design is

XML file------> transformer------->MQ plugin

Your guidance will be appreciated
Post Reply