Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Job Schedule Entry (RMVJOBSCDE) command allows you to remove an entry, entries, or generic entries in the job schedule. Each job schedule entry corresponds to one batch job, and contains the information needed to automatically run the job once or at regularly scheduled intervals. A message is sent to you and the message queue specified in the job schedule entry when an entry is successfully removed.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
JOB | Job name | Generic name, name | Required, Positional 1 |
ENTRYNBR | Entry number | 000001-999999, *ONLY, *ALL | Optional |
Top |
Specifies the name of the job schedule entry.
This is a required parameter.
Top |
Specifies the number of the job schedule entry you want to remove. The message sent when an entry is successfully added contains the entry number. You can also determine the entry number by using the Work with Job Schedule Entries (WRKJOBSCDE) command. Press F11 from the WRKJOBSCDE display to show the entry numbers of the selected entries.
Top |
Example 1: Removing Job Schedule Entries
RMVJOBSCDE JOB(SAMPLE*) ENTRYNBR(*ALL)
This command removes all the job schedule entries whose job names start with SAMPLE.
Example 2: Removing an Individual Job Schedule Entry
RMVJOBSCDE JOB(PAYROLL) ENTRYNBR(*ONLY)
This command removes the job PAYROLL in the job schedule.
Example 3: Removing a Generic Job Schedule Entry
RMVJOBSCDE JOB(PAY*) ENTRYNBR(*ALL)
This command removes all entries in the job schedule that have the prefix PAY in their names.
Top |
*ESCAPE Messages
Top |