MQ message header to Column

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
lkganta
Participant
Posts: 21
Joined: Wed Feb 08, 2006 4:10 pm

MQ message header to Column

Post by lkganta »

Hi,
we have MQ read stage in datastage 8.1Px reading the data and passing to next stage with one column-A output. This works fine.

Now, we would like to capture header of each message that comes in MQ to column-B along with column-A. Could you please tell me how to do this?
Any MQ properties setting to be done to get header message information?

Appreciate your qucik response in this.

Thank you
LK
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Look in the documentation, and then the Stage or Connector for all of the various "Data Element" options that you have. There are a whole set of them for gathering bits and pieces of the MQ header. I can't remember exactly what it is and am not looking at DataStage right now, but assuming that you are using the MQ Connector with an output link I think one of them is WSMQ.MSGID. That will populate that particular column with the message id.

Ernie
Ernie Ostic

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