MQGet from datastage job

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
ds_infy
Premium Member
Premium Member
Posts: 59
Joined: Tue Jun 09, 2009 4:17 am
Location: India

MQGet from datastage job

Post by ds_infy »

We have a scenario where in we need to read a message from a queue as soon as it is in and process using datastage. Is it possible to trigger datastage job which reads a message from this queue as soon as it is in queue. or do we need to have a separate trigger mechanism
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

it's by default....the MQ stage as a source will keep the job "always on"....immediately processing the message when it arrives.

You can certainly "start" the job initially using a trigger mechanism, but once it is running it will just "be there" waiting for a new message.

When testing, you should always set your timeout to 30 seconds or similar, until you are familiar with how it works.

Search the forum...there are lots of entries on this, and it is fairly well documented.

Ernie
Ernie Ostic

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