Previous Topic: SchedulesNext Topic: SCHONLY Field


Time Calculations for Jobs in the Queue

Understanding how CA WA CA 7 Edition calculates time helps in the original scheduling of jobs and requirements. CA WA CA 7 Edition has several ways of scheduling jobs. These jobs enter the request queue with several time fields either specified by the user or calculated by CA7ONL.

Business Value:

Correct scheduling and a good understanding of time speed throughput.

Additional Considerations:

The following explanations use these acronyms:

The following are sample time calculations:

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) panel

Due-Out Time for triggered jobs:

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

If QTM is entered on the trigger panel, the DOTM is calculated as follows:

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

If a triggered job enters the queue after its DOTM, a day is added to the DOTM and DLTM. If this same job had an SBTM requirement, it would also be for the next day.

If the triggering job has a DOTM of the next day, and the triggered job comes into the queue after its DLTM, another day is added to the DOTM, 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) panel is what schedule scan is using to see whether it is time to scan the 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 follows:

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

Deadline Start Time calculation for triggered jobs:

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

A job is marked LATE if it has not started by its deadline start time or completed by its due-out time. DSTM is calculated as DOTM - CLOCK-TIME (from DB.1 panel) - 5 minutes unless CLOCK-TIME on the DB.1 panel is 2359. In that case, DSTM is DOTM - LDTM - 5 minutes.

More information:

Late Prompting for Jobs