Summary:
In some cases there needs to be a delay between the predecessor and successor job. The RELDELAY command only allows whole minute values. By using a SELF COMPLETING TASK it is possible to delay by seconds.
Background:
The RELDELAY x command only allows whole minute values.
Environment:
CA Workload Automation ESP Edition r11.4
Instructions:
The self completing task in the example below sets the start time for the following job.
JOB DELAYJOB TASK SELFCOMPLETING
RUN DAILY
ESPNOMSG AJ DELAYED.JOB RESET DELAYSUB('REALNOW +
PLUS 20 SECONDS') APPL(%ESPAPPL..%ESPAPGEN)
RELEASE ADD(DELAYED.JOB)
ENDJOB
JOB DELAYED.JOB
RUN DAILY
ENDJOB
Additional Information:
The RELDELAY statement is documented in the CA Workload Automation ESP Edition Command Reference Guide r11.4.