Hold a job schedule entry
The Hold Job Schedule Entry (HLDJOBSCDE) command
allows you to hold an entry, all entries, or a set of entries in the job schedule.
If an entry is held, no job is submitted at the scheduled time. To hold a
job schedule entry, use the character-based interface.
To hold entries, you must have job control (*JOBCTL) special authority;
otherwise you can hold only those entries that you added. If you hold a job
schedule entry:
- The entry is held until it is released using the Release Job Schedule
Entry (RLSJOBSCDE) or Work with Job Schedule Entries (WRKJOBSCDE)
command.
- The job is not submitted when it is released, even if a date and time
at which it was scheduled to be submitted passed while the entry was held.
Rather the job is submitted on any future dates for which it is scheduled
to be submitted.
Command: Hold Job Schedule Entry (HDLJOBSCDE)
Example: The following example places the job schedule entry
CLEANUP on hold.
HLDJOBSCDE JOB(CLEANUP)