[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Batch Queue Job Activity? (f$getqui)

» close window

The Question is:

 
Is there a way that I can get a batch job to check the queue it is running in
 to see if there are any jobs already running that have a job name that have a
 similar job name and wait until those jobs have completed?  Example: there are
 5 jobs submitted wit
h job names of job1, job2, job3, job4 & job5.  If job1 is submitted again it
 will wait until job1 thru job5 have completed before starting.
 


The Answer is :

 
  Consider the SYNCHRONIZE command, a job scheduler application
  (commercial and freeware schedulers are available), or DCL code
  that use the f$getqui lexical function to perform the desired
  review of the current queue activity.
 
  For information on the f$getqui lexical, topics include: (813),
  (1240), (2159), (3951), (4546), (4568), (4903), (5188), (5471),
  (5567), (5651), (5793), (5982), (6315), (6877), (8819), etc.
 

answer written or last revised on ( 14-JUN-2003 )

» close window