RETRO Example 1
Schedule the job only on specified days of the month. If the date has passed, do not schedule the job.
Figure 295 RETRO Parameter – Example 1
JOB: PRDKPL01 LIB CTM.PROD.SCHEDULE TABLE: PRODKPL
COMMAND ===> SCROLL===> CRSR
+----------------------------------------------------------------------------+
MEMNAME PRDKPL01 MEMLIB CTM.PROD.JCL
OWNER SYS1 TASKTYPE JOB PREVENT-NCT2 DFLT N
APPL KPL GROUP PROD-KPL
DESC DAILY PRODUCTION - START OF APPL-PROD-KPL
OVERLIB STAT CAL
SCHENV SYSTEM ID NJE NODE
SET VAR
DOCMEM PRDKPL01 DOCLIB CTM.PROD.DOC
===========================================================================
DAYS 15,16,18,19,20 DCAL
AND/OR
WDAYS WCAL
MONTHS 1- Y 2- Y 3- Y 4- Y 5- Y 6- Y 7- Y 8- Y 9- Y 10- Y 11- Y 12- Y
DATES
CONFCAL SHIFT RETRO N MAXWAIT 00 D-CAT
MINIMUM PDS
DEFINITION ACTIVE FROM UNTIL
===========================================================================
IN
CONTROL
COMMANDS: EDIT, DOC, PLAN, JOBSTAT 11.17.00
Assume the computer was offline from the 16th up to and including the 18th, and the 15th was the last date that the job was scheduled for execution. Today is the 19th. Therefore, the job is only scheduled for execution on the 19th.
RETRO Example 2
Schedule the job for all working days, even if the computer is not active:
DCAL WORKDAYS
RETRO Y
Assume the WORKDAYS calendar contains the dates 15, 16, 18, and 19, and the same conditions as above exist. The job is scheduled three times with the original scheduling dates: the 16th, the 18th and the 19th.
Parent Topic |