Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Trigger a host job depending on the depth of the MQ

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
Neelima

New User


Joined: 14 Apr 2005
Posts: 6
Location: Hyderabad

PostPosted: Fri Apr 06, 2007 12:42 am    Post subject: Trigger a host job depending on the depth of the MQ
Reply with quote

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
View user's profile Send private message
References
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 2978
Location: Tucson AZ

PostPosted: Fri Apr 06, 2007 1:56 am    Post subject:
Reply with quote

Something about TRIGGER type DEPTH?
Check the manual, it'll be quicker.......
Back to top
View user's profile Send private message
Devzee

Senior Member


Joined: 20 Jan 2007
Posts: 708
Location: Hollywood

PostPosted: Fri Apr 06, 2007 12:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8652
Location: 221 B Baker St

PostPosted: Fri Apr 06, 2007 9:10 pm    Post subject:
Reply with quote

Hello,

If nothing else, an online transaction could submit the batch job thru the internal reader.
Back to top
View user's profile Send private message
vijay_in

New User


Joined: 14 Jul 2005
Posts: 4
Location: Bangalore

PostPosted: Mon Apr 09, 2007 8:23 pm    Post subject: Re: Trigger a host job depending on the depth of the MQ
Reply with quote

Hi,

You can implement MA12 support pack for Batch trigger. You can download the support pack from the following link
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000076&loc=en_US&cs=utf-8&lang=en

Regards,
Vijay S
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1