Remove Job using Job Scheduler (RMVJOBJS)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Remove Job using Job Scheduler (RMVJOBJS) command allows you to remove a job or groups of jobs from the Advanced Job Scheduler job schedule. The job or jobs can belong to a group of jobs.

Note: You must remove all subordinate job groups before a job group with sequence 1 can be removed.

Top

Parameters

Keyword Description Choices Notes
JOB Job entry Element list Required, Positional 1
Element 1: Job Generic name, name, *ALL
Element 2: Group Generic name, name, *ALL, *NONE
Element 3: Group sequence 1-99, *ALL, *NONE
Top

Job entry (JOB)

Specifies the name of the job schedule entry that you want to remove. You can specify one job, a generic job name or use the special value *ALL for all jobs. The job specification can be used in conjunction with a group to which the job belongs as well as a sequence number for the job within the group. You can also specify generic group names and sequence numbers.

This is a required parameter.

Element 1: Job

*ALL
You want to remove all jobs that satisfy the group and sequence number specification.
generic-name
Specify a generic job name for the jobs to be removed. For example, specifying JOB* would cause all jobs whose names begin with JOB and that satisfy the group and sequence number specification to be removed from Advanced Job Scheduler.
name
Specify the user-defined name of the job schedule entry that you want to remove.

Element 2: Group

*NONE
The job is not assigned to a group.
*ALL
Remove all specified jobs that belong to any group.
generic-name
The group is generic. For example, specifying GROUP* would cause specified jobs in all groups that begin with GROUP and that satisfy the sequence number specification to be removed from Advanced Job Scheduler.
name
Specify the user-defined name of the group to which the job belongs that you are removing.

Element 3: Group sequence

*NONE
There is not a sequence number assigned to the job.
*ALL
Include jobs with any sequence number that satisfy the job and group specifications.
1-99
Specify the sequence number of the job within the group.
Top

Examples

RMVJOBJS   JOB(JOB02 ACCTG 11)

This command removes job JOB02 which is sequence number 11 in the group ACCTG.

Top

Error messages

Unknown
Top