Previous Topic: Restriction Expressions: Relating Special Days to Jobs

Next Topic: Restricting a Job to Run Only on Special Days

Restricting a Job from Running on Special Days

You can restrict a job from running on certain days by using the /NOT_ON qualifier in conjunction with the job’s schedule interval. For example:

SCHEDULE> MODIFY JOBX /SD_RESTRICTION=(COMPANY_HOLIDAYS)/NOT_ON

This example instructs the manager not to run JOBX on company holidays.

The manager calculates the job’s next scheduled run time according to the job’s schedule interval and then checks against its Special Day Restrictions. If the job’s next scheduled run time falls on a restricted Special Day, the manager applies one of two user-specified Special Day Actions:

In both cases, if the job has OPCOM or NOTIFY set, the owner of the job and the operator are notified of the Special Day conflict and what Special Day Action was applied.