How to read data from MQRFH2 messages using MQ connector ?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
raghu22
Premium Member
Premium Member
Posts: 15
Joined: Sun Oct 11, 2009 11:33 am

How to read data from MQRFH2 messages using MQ connector ?

Post by raghu22 »

Can someone tell me how to read data from MQRFH2 messages using MQ connector stage??
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

I played a bit with this when the Connector first came out, but only in a lab scenario. I'd have to check my notes, but I recall that there was good detail on this in the manual, and at the very least, you needed the WSMQ.FORMATHEADERS (or something like that) Data Element in the output link as a column in order to force the Connector to skip the header and get into your actual payload. If you want to parse out the actual header detail, you would do that downstream, but the usual issue is figuring out how to skip over it to read the actual message.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply