CL Command Reference - RLSJOBSCDE
CL Command List > RLSJOBSCDE Reference
Description:
The Release Job Schedule Entry (RLSJOBSCDE) command allows you to release an entry, all entries, or a set of entries in the job schedule. Each job schedule entry contains the information needed to automatically submit a job to be run once or at regularly scheduled intervals.
If you release a job schedule entry, the job is not submitted immediately, even if the date and time at which it was scheduled to be submitted passed while the entry was held. The job is submitted on any future dates for which it is scheduled to be submitted.
Restrictions:
1. To release entries, you must have job control (*JOBCTL) special authority; otherwise you can release only those entries that you added.
2. To use this command, you must have:
. Use (*USE) authority to object QDFTJOBSCD, type *JOBSCD, in library QUSRSYS and execute (*EXECUTE) authority to library QUSRSYS.
Examples:
Example 1: Releasing All Job Schedule Entries
RLSJOBSCDE JOB(*ALL) ENTRYNBR(*ALL)
This command releases all the job schedule entries.
Example 2: Releasing an Individual Job Schedule Entry
RLSJOBSCDE JOB(PAYROLL) ENTRYNBR(*ONLY)
This command releases entry PAYROLL in the job schedule.
Example 3: Releasing a Generic Job Schedule Entry
RLSJOBSCDE JOB(PAY*) ENTRYNBR(*ALL)
This command releases all entries in the job schedule with the prefix PAY in their names.