View previous topic :: View next topic
|
Author |
Message |
Neelima
New User
Joined: 14 Apr 2005 Posts: 6 Location: Hyderabad
|
|
|
|
Hi All,
I need pointers/sample code for the following reqt.
Need to trigger a batch job when the number of messages in the MQ reaches a certain value (eg. 1000 messages).
Help required as soon as possible.
Regards,
Neelima |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Something about TRIGGER type DEPTH?
Check the manual, it'll be quicker....... |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
In the MQ definition screen you can set the trigger depth to a value, and this will auto trigger when the number of message reaches the limit which is depth.
I know with MQ you can trigger online transactions, but I really dont know whether you can trigger Batch JCL |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If nothing else, an online transaction could submit the batch job thru the internal reader. |
|
Back to top |
|
|
vijay_in
New User
Joined: 14 Jul 2005 Posts: 4 Location: Bangalore
|
|
Back to top |
|
|
|