I agree with Peter. That way triggering can continue to work for other queues.
> -----Original Message----- > From: Potkay, Peter M (PLC, IT) [SMTP:[EMAIL PROTECTED] > Sent: Monday, September 22, 2003 8:41 AM > To: [EMAIL PROTECTED] > Subject: Re: Stop Trigger Monitor > > 1) disable and enable the gets on the initiation queue. > GET(DISABLED)GET(ENABLED) > If i use this method where do the messages accumulate? on the local or > initq? > >>>>On the local queue. > > When the gets are enabled will the trigger montior start to submit the batch > jobs again? > >>> Depends on what happened to the TM when you disabled the init queue. If > it ended, you will need to restart it. If it went into a retry mode, you > should be good to go. > > > 2) turn on and off the trigger set option on the local queue. > >>> I would do it this way. > > > -----Original Message----- > From: Brent Ireland [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2003 10:50 AM > To: [EMAIL PROTECTED] > Subject: Stop Trigger Monitor > > > Hello all, > > I would like to be able to stop the arrival of a message on a queue from > triggering a batch jcl to be submitted. > > i have set up a local queue with the following trigger definition: > > Trigger Definition > > > > Trigger type . . . . . . . : F F=First,E=Every,D=Depth,N=None > > > > Trigger set . . . . . . : Y Y=Yes,N=No > > Trigger message priority : 0 0 - 9 > > Trigger depth . . . . . : 1 1 - 999999999 > > Trigger data . . . . . . : > > > > Process name . . . . . . : TRIGGER.PROCESS > Initiation queue . . . . : TRIGGER.INITIATION.QUEUE > > I have a batch trigger monitor program waiting for a message to arrive on > the initiation queue. When a message arrives it submits a batch job. > > What i would like to do is stop the trigger process then runs some batch > jobs and then start the trigger process again. > > I read about a few possible options: > > 1) disable and enable the gets on the initiation queue. GET(DISABLED) > GET(ENABLED) > if i use this method where do the messages accumulate? on the local or > initq? when the gets are enabled will the trigger montior start to > submit the batch jobs again? > > 2) turn on and off the trigger set option on the local queue. > > Could someone please suggest the "preferred" method? > > Thank you in advance. > > > Brent Ireland > CAE Inc. > > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive > > > This communication, including attachments, is for the exclusive use of > addressee and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, any use, copying, > disclosure, dissemination or distribution is strictly prohibited. If > you are not the intended recipient, please notify the sender > immediately by return email and delete this communication and destroy all copies. > > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive