RMVJOBJS (Remove Job using Job Scheduler)

RMVJOBJS Command syntax diagram

 

Purpose

The Remove Job using Job Scheduler (RMVJOBJS) command allows you to remove a job from the job schedule.

Note: When referring to a job in this command, we are referring to an entry in Job Scheduler. An entry in Job Scheduler is a user-defined name for commands or programs that you want to process at scheduled times and dates. Job Scheduler jobs (entries) are not OS/400 objects.

The job can belong to a job group.

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

 

Required Parameters

JOB
Specifies the name of the job schedule entry that you want to remove. You must specify a job and optionally can specify a group to which the job belongs as well as a sequence number for the job within the group.

Element 1: Job

job-name: Specify the name of the job that you want to remove.

Element 2: Group

*NONE: The job that you are removing is not a member of a group.

group-name: Specify the name of the group for the job that you are removing.

Element 3: Group sequence

*NONE: The job that you are removing does not have a sequence number.

group-sequence-number: Specify the sequence number of the job within the group.

Example for RMVJOBJS

Example 1: Removing a Job

RMVJOBJS JOB(JOB02 ACCTG 11)

In the example, JOB02 which is sequence number 11 in the group ACCTG, is removed.

Error messages for RMVJOBJS

None