Previous Topic

Next Topic

Book Contents

Book Index

Examples for TIME + DAYS

TIME + DAYS Example 1

FROM TIME    2200 +     DAYS    UNTIL TIME (blank)   +     DAYS

creates a submission window from 10:00 PM until the New Day Processing time.

To create a submission window from the New Day processing time until a particular time, enter the desired UNTIL TIME and leave the FROM TIME subparameter blank.

TIME + DAYS Example 2

FROM TIME  (blank) +     DAYS    UNTIL TIME 1300  +     DAYS

creates a submission window from New Day processing time until 1:00 P.M. When both a FROM TIME and an UNTIL TIME value are specified, the relationship of New Day Processing time to these values (on a physical clock) determines the submission window. The logic is as follows:

If, when you move forward on the physical clock from the New Day Processing time, you arrive at the FROM TIME before you arrive at the UNTIL TIME, it means that New Day processing does not fall between the FROM TIME and the UNTIL TIME. In this case, the submission window runs from the FROM TIME to the UNTIL TIME, regardless of when the job was ordered.

TIME + DAYS Example 3

Assume a New Day Processing time of 8:00 A.M.:

FROM TIME  1400 +     DAYS    UNTIL TIME 2200  +     DAYS

creates a submission window from 2:00 P.M. until 10:00 P.M., a period of 8 hours.

TIME + DAYS Example 4

Assume a New Day Processing time of 10:00 P.M.:

FROM TIME  2300 +     DAYS    UNTIL TIME 0500  +     DAYS

creates a submission window from 11:00 P.M. until 5:00 A.M., a period of 6 hours.

TIME + DAYS Example 5

Assume a New Day Processing time of 10:30 P.M.:

FROM TIME  2300 +     DAYS    UNTIL TIME 2200  +     DAYS

creates a submission window from 11:00 P.M. until 10:00 P.M., a period of 23 hours.

If, when you move forward on the physical clock from the New Day Processing time, you arrive at the UNTIL TIME before you arrive at the FROM TIME, it means that New Day processing falls between the FROM TIME and UNTIL TIME.

Batch jobs are frequently scheduled for submission from night until the morning. Therefore, when the New Day Processing time intervenes between the FROM TIME and the UNTIL TIME, it is likely that, following New Day Processing, the site still wants the job to be submitted up until the UNTIL TIME, without first waiting for the FROM time of the New Day.

For this reason, if New Day Processing comes between the FROM TIME and the UNTIL TIME, then regardless of when the job was ordered, the job is eligible for submission from both

The actual effect is that the submission window consists of all times except the interval from the UNTIL TIME until the FROM TIME.

TIME + DAYS Example 6

Assume a New Day Processing time of 4:00 A.M.:

FROM TIME  2300 +     DAYS    UNTIL TIME 0600  +     DAYS

creates a submission window from 11:00 P.M. until 4:00 A.M. and from 4:00 A.M. until 6:00 A.M., giving a net submission window from 11:00 P.M. until 6:00 A.M. The job cannot be submitted from 6:00 A.M. until 11:00 P.M.

The character > in the UNTIL TIME subparameter indicates that Control-M must attempt to submit the job at the FROM TIME if specified, and if this is not possible, Control-M must submit the job as soon afterwards as possible, even at a later date (unless the MAXWAIT period has expired).

TIME + DAYS Example 7

Assume a New Day Processing time of 8:00 A.M.:

FROM TIME  2200 +     DAYS    UNTIL TIME >    +     DAYS

creates a submission window that begins at 10:00 P.M. If the job has not been submitted by the end of day, it can be submitted at any time from the beginning of the next day.

The FROM TIME subparameter is ignored when a job is rerun or restarted on a subsequent day.

Specifying the same time in both the FROM TIME and the UNTIL TIME subparameters has the same impact as entering no value in both fields.

TIME + DAYS Example 8

Submit the job after midnight:

Figure 325 FROM TIME Parameter Example

JOB: OPGENBKP LIB CTM.PROD.SCHEDULE TABLE: BACKUP

COMMAND ===> SCROLL===> CRSR

+----------------------------------------------------------------------------+

SCHENV SYSTEM ID NJE NODE

SET VAR

CTB STEP AT NAME TYPE

DOCMEM OPGENBKP DOCLIB CTM.PROD.DOC

===========================================================================

DAYS 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 00 D-CAT

MINIMUM PDS

DEFINITION ACTIVE FROM UNTIL

===========================================================================

IN

CONTROL

RESOURCE

PIPE

FROM TIME 0000      +     DAYS    UNTIL TIME      +     DAYS

DUE OUT TIME        +     DAYS    PRIORITY   SAC   CONFIRM            

In this example, if the start time of the new workday is 6:00 A.M., this job can only be submitted between the hours of midnight and 6:00 A.M.

Parent Topic

TIME + DAYS: Runtime Scheduling Parameter