NetBatch Manual

Attributes
NetBatch Manual522460-004
7-29
CATCHUP Scheduler Attribute
This example shows how a recurrent suspended job functions when reactivated
and CATCHUP is set to ON. The job runs continuously until it clears the run
backlog it accumulated while suspended, then it runs at the specified interval.
3} INFO SCHEDULER, CATCHUP
SCHEDULER ATTRIBUTES
catchup: On
4} SUBMIT JOB CATCHUP-YES, EXECUTOR-PROGRAM DELAY, STARTUP "1
MINS", EVERY 0:02 HOURS
Job CATCHUP-YES Jobnumber 21 submitted
5} SUSPEND JOB 21
Job CATCHUP-YES Jobnumber 21 suspended
6} ACTIVATE JOB 21
Job CATCHUP-YES Jobnumber 21 activated
7} STATUS JOB 21
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
21 CATCHUP-YES 255,255 4339 EXECUTING DEFAULT
8} STATUS-HISTORY 21, NB-LOG $TRASH.IJ30.LOGAAN
16SEP94 13:38:13 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:1 …
16SEP94 13:38:15 LIST JOB CATCHUP-YES EXECUTING J_21 …
16SEP94 13:38:15 START EXECUTOR-PROGRAM U_255,255 J_21 …
16SEP94 13:38:34 SUSPND JOB CATCHUP-YES J_21 U_255,255 …
16SEP94 13:38:35 LIST JOB CATCHUP-YES SUSPENDED J_21 …
16SEP94 13:43:46 A'VATE JOB CATCHUP-YES J_21 U_255,255 …
16SEP94 13:43:46 LIST JOB CATCHUP-YES EXECUTING J_21 …
16SEP94 13:43:46 STOP CC_0 EXECUTOR-PROGRAM J_21 …
16SEP94 13:43:47 FINISH JOB CATCHUP-YES T_0:0:0:15 J_21 …
16SEP94 13:43:50 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:2 … .
16SEP94 13:44:52 FINISH JOB CATCHUP-YES T_0:0:0:15 J_21 …
16SEP94 13:44:55 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:3 … .
16SEP94 13:45:57 FINISH JOB CATCHUP-YES T_0:0:0:14 J_21 …
16SEP94 13:45:59 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:4 … .
16SEP94 13:47:01 FINISH JOB CATCHUP-YES T_0:0:0:16 J_21 …
16SEP94 13:47:03 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:5 … .
16SEP94 13:48:05 FINISH JOB CATCHUP-YES T_0:0:0:16 J_21 …
16SEP94 13:48:13 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:6 … .
16SEP94 13:49:15 FINISH JOB CATCHUP-YES T_0:0:0:14 J_21 …
16SEP94 13:50:14 BEGIN JOB (SUPER.SUPER)CATCHUP-YES:7 … .
16SEP94 13:51:17 FINISH JOB CATCHUP-YES T_0:0:0:15 J_21 … .
This example shows how a recurrent suspended job functions when reactivated
and CATCHUP is set to OFF. When reactivated, the job finishes executing but
does not run again until the next future run time. The job does not accumulate a
run backlog while suspended.
4} INFO SCHEDULER, CATCHUP
SCHEDULER ATTRIBUTES
catchup: Off
5} SUBMIT JOB CATCHUP-NO, EXECUTOR-PROGRAM DELAY, STARTUP "1
MINS", EVERY 0:02 HOURS
Job CATCHUP-NO Jobnumber 2 submitted
6} SUSPEND JOB 2
Job CATCHUP-NO Jobnumber 2 suspended
7} ACTIVATE JOB 2