Page 1 of 1

Reading MQ messages in MQHRF2 message format in DS

Posted: Fri Mar 11, 2011 2:07 pm
by ds_infy
Hello Experts,

Can we read MQHRF2 message format MQ messages in Datastage?

Currently the jobs are failing with a Fatal Message:

"The WebSphere MQ plug-in is unable to process non-string formatted messages."

Is there a patch/ admin variable that will enable DS to read the MQHRF2 messages?

Please let me know.

Regards,
Vijay

Posted: Mon Mar 14, 2011 5:43 am
by eostic
It's been too long since I've looked at this issue in a release 7 environment to remember......but the release 8 MQ Connector, if you have access to release 8 or are making plans for it, provides specific support for these types of messages.

Ernie

Solution

Posted: Thu May 12, 2011 5:00 pm
by ds_infy
In the MQStage, Under Tab "Output", and in "Message Filtering Options",
Check "Apply Filtering" and in the "Message Format" text box, you can add the type of messageformat eg.MQSTR or MQRFH2. This will enable the MQ stage to read XML messages of different messageFormats.

Incase you have multiple message Formats you need to have these messageFormats mentioned as a comma seperated and it should work for all messageFormats in the "MessageFormat" textbox.

Kindly Note, that though the MQ stage successully passes diff. messageFormats if you are using a XML stage it fails. So you need to either strip off the messageHeader or have the source send messages in the MQSTR format.

Posted: Thu Jun 19, 2014 11:15 am
by prasson_ibm
Can you please help us how can we read MQRFH2 message body without header using MQ connector stage.