IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Trigger a host job depending on the depth of the MQ


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Neelima

New User


Joined: 14 Apr 2005
Posts: 6
Location: Hyderabad

PostPosted: Fri Apr 06, 2007 12:42 am
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
William Thompson

Global Moderator


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

PostPosted: Fri Apr 06, 2007 1:56 am
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

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Apr 06, 2007 12:25 pm
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Apr 06, 2007 9:10 pm
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
Reply with quote

Hi,

You can implement MA12 support pack for Batch trigger. You can download the support pack from the following link
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts access the last host command CLIST & REXX 2
No new posts How can I select certain file dependi... JCL & VSAM 12
This topic is locked: you cannot edit posts or make replies. How can I select certain file dependi... Compuware & Other Tools 1
No new posts File transfer from host with filler f... TSO/ISPF 15
No new posts DECIMAL HOST VARIABLE OR PARAMETER 14... DB2 7
Search our Forums:

Back to Top