|
|
| 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 |
|
 |
References
|
Posted: Fri Apr 06, 2007 12:42 am Post subject: Re: Trigger a host job depending on the depth of the MQ |
 |
|
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 2970 Location: Tucson AZ
|
|
|
|
Something about TRIGGER type DEPTH?
Check the manual, it'll be quicker....... |
|
| Back to top |
|
 |
Devzee
Senior Member
Joined: 20 Jan 2007 Posts: 714 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
Global Moderator
Joined: 23 Nov 2006 Posts: 6942 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
|
|