How can I schedule a job to wait for 2 hours after it is triggered to run?

Document ID : KB000014864
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How can I schedule job to wait for 2 hours after it is triggered to run? Can the queue time (QTM) field on the job trigger panel accomplish this?

Answer:

QTM time is only used to calculate the DEADLINE START TIME which controls when a job is flagged LATE in CA7. The method to delay a job in this manner is to have the job that currently performs the trigger execute a trailer step instead of the trigger, to issue a CA7 command, DEMAND,JOB=jobname,TIME=+0200 (hhmm).

Additional Information:

CA Workload Automation CA 7 Edition Interfaces Guide, Chapter 3, External Communicators (Trailer Step Facility)

CA Workload Automation CA 7 Edition Command Reference Guide, DEMAND and DEMANDH command.