Page 1 of 1

MQGet from datastage job

Posted: Mon Oct 04, 2010 4:32 am
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

Posted: Mon Oct 04, 2010 5:26 am
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