RE: REXX job cancel multiple running job

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: RE: REXX job cancel multiple running job
From: David Stuart (David.Stuart@ventura.org)
Date: Tue Sep 01 2009 - 17:34:07 EDT


If there is a scheduler package involved/available, you could set up an 'when' condition for 'not during'.  Then the scheduler would allow only one to run at a time.  


Dave 






Dave Stuart
Prin. Info. Systems Support Analyst
County of Ventura, CA
805-662-6731
David.Stuart@ventura.org>>> "Ken Meyer" <ken.meyer@csi-international.com> 9/1/2009 2:30 PM >>>
You could do a few things..

One you could do would be to display a message for the particular job,
which could execute an IMOD that looks for the same job name (or phase
name) already running.  If found, cancel the job at the pause.

You could set a global variable when the job starts that will be checked
by another occurrence of the same job.  If the variable is not set to a 
particular value, proceed, otherwise cancel the job at the pause.

Those are just two possibilities off the top of my head.  I am sure 
other BIM-FAQS users have other ideas.  :)

-  
Ken Meyer
CSI

CSIKMeyer on Twitter ... 





On Tue, 2009-09-01 at 14:14 -0700, Mojibi, Amir wrote:

snip..


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Wed Sep 02 2009 - 20:20:12 EDT