Time calculations for CA 7 controlled jobs
search cancel

Time calculations for CA 7 controlled jobs

book

Article ID: 27258

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction



How are the various time fields calculated for CA 7 controlled jobs?

 

Environment

Release:
Component: 7

Resolution

CA 7 has several ways of scheduling jobs. These jobs enter the request queue with several time fields either specified by the user or calculated by CA 7. This knowledge document explains these time fields and how they are set.

 

Due-Out Time calculations for DEMAND jobs:

 DOTM = Current time (time of the DEMAND) + 1 hour

You can specify a DOTM on the demand command to change this

Due-Out Time for schedule scanned jobs:

 DOTM entered on the Schedule Job Edit (DB.2.1-E) screen

Due-Out Time for triggered jobs:

DOTM entered on the trigger screen (DB.2.x)

If QTM is entered on the trigger screen, then DOTM is calculated as:

 Current time (time of trigger) + QTM + CLOCK-TIME (from DB.1 (CPU Job Definition) screen) + 5 minutes

NOTE: If a triggered job enters the queue after its DOTM, a day is added to the DOTM and DLTM. If this same job had a SBTM requirement, it would also be for the next day.
NOTE: If the triggering job has a DOTM of the next day, and the triggered job comes into the queue after its DLTM, then another day is added to the DOTM and DLTM and SBTM (if used).

Deadline Start Time calculations for DEMAND jobs:

 DLTM = DOTM

You can add a DOTM and a LEADTM keyword on the DEMAND command to change this, however, only adding a LEADTM does not change the DLTM.

Deadline Start Time calculation for schedule scanned jobs:

DLTM = DOTM - LDTM from the Schedule Job Edit (DB.2.1-E) screen is what schedule scan is using to see if it is time for the job to be scanned into the queue. The queue record dates and times (as shown in LQ type commands and what is used for LATE calculation and prompting) are calculated as:

 DLTM = DOTM - CLOCK-TIME from the DB.1 screen - 5 minutes

Deadline Start Time calculation for triggered jobs:

 DLTM = DOTM - CLOCK-TIME from the DB.1 screen - 5 minutes

Additional Information

Additional Information:
The following are an explanation of the acronyms used in this knowledge document:
 DOTM (due-out time)
 DLTM (deadline start time)
 LDTM (lead time)
 SBTM (submit time)
 QTM (queue time)