Example 1
Activate the report decollating mission of the job which produces a twice-monthly salary report when the job finishes OK. When the job that produces the salary report finishes OK, it creates the prerequisite condition SALARY-OK.
The salary report job is run twice a month, for the 1st and for the 15th. Each report is decollated only if its prerequisite condition SALARY-OK exists (signifying the job creating that salary report ended OK). The existence of prerequisite condition SALARY-OK created by the 1st’s job does not cause decollating of the 15th’s report. The existence of prerequisite condition SALARY-OK created by the 15th’s job does not cause decollating of the 1st’s report.
The 1st’s job does not necessarily run on the 1st of the month. Suppose that job only finishes executing on the 3rd. At that time, the prerequisite condition SALARY-OK for the 1st is created. This is because the prerequisite condition is associated with the mission’s scheduling date and not with the actual running date.
Figure 275 IN Parameter – Example 1
------- CONTROL-D/V CATEGORY DAILY JOB SLRPT001 ----------(R.S)
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
CATEGORY DAILY JOBNAME SLRPT001 GENERIC N MONITOR
OWNER M22 TASKTYPE REP GROUP SL-PRODUCTION JOBID
DESC SALARY REPORTS
DESC
===========================================================================
DAYS 01,15 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 Y MAXWAIT 06
MINIMUM PDS
===========================================================================
IN SALARY-OK ODAT
WHEN IN QUEUE N CLS TIME FROM UNTIL INTERVAL PRIORITY
DSN
===========================================================================
OUT
SHOUT WHEN TO URG
MSG
FILL IN REPORT DEFINITION. CDMS: EDIT, SCHED, SHPF, PATH 08.43.06
Example 2
Suppose that a report should be decollated only after the totals of the report have been checked for accuracy. Parameter IN can specify a prerequisite condition such as REPORT12-CHECKED, which is created manually after the report has been checked. For more information, see Adding Conditions and Resources – The ADD Command.
Figure 276 IN Parameter – Example 2
------- CONTROL-D/V CATEGORY DAILY JOB PLRPT012 ----------(R.S)
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
CATEGORY DAILY JOBNAME PLRPT012 GENERIC N MONITOR
OWNER M22 TASKTYPE REP GROUP PL-PRODUCTION JOBID
DESC REPORT 12
DESC
===========================================================================
DAYS 2,3,4,5,6 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 Y MAXWAIT 06
MINIMUM PDS
===========================================================================
IN REPORT12-CHECKED ODAT
WHEN IN QUEUE N CLS TIME FROM UNTIL INTERVAL PRIORITY
DSN
===========================================================================
OUT
SHOUT WHEN TO URG
MSG
FILL IN REPORT DEFINITION. CDMS: EDIT, SCHED, SHPF, PATH 08.43.06
Parent Topic |