Recurring Batch Jobs
Jobs can reSUBMIT themselves - use the F$GETQUI lexical function to obtain the needed information:
$ vbl = F$GETQUI( “DISPLAY_JOB”, -
item,, “THIS JOB” )
Useful items:
QUEUE_NAME, FILE_SPECIFICATION, AFTER_TIME, others.
Notes:
Here’s where we start to discuss batch jobs that can reSUBMIT themselves.
Information that the job may need, such as the queue name, the job name, the procedure name, etc. can either be hard-coded or it can be retrieved using the F$GETQUI() lexical function by specifying “THIS_JOB” as the fourth parameter.
See the DCL Dictionary or the on-line HELP for more items that can be retrieved.