Remove Job Watcher Definition (RMVJWDFN)

The Remove Job Watcher Definition (RMVJWDFN) command removes one or more Job Watcher definitions from the system.

Restrictions:

Parameters

Keyword Description Choices Notes
DFN Definition Generic name, name, *SELECT, *ALL Optional

Definition (DFN)

Specifies the name of the Job Watcher definition to be removed. A specific or generic definition name, or *ALL, can be specified.

*SELECT
A list of existing Job Watcher definitions will be displayed for user selection. This value is valid only if the command is run in an interactive job.
*ALL
All Job Watcher definitions are removed.
name
Specify the name of the Job Watcher definition to be removed.
generic-name
Specify the generic name of the Job Watcher definition to be removed. A generic name is a character string of one or more characters followed by an asterisk (*). A generic name specifies all items that have names with the same prefix as the generic name.

Examples

Example 1: Removing a Single Job Watcher Definition

RMVJWDFN   DFN(MYJWDFN)

This command removes the member named MYJWDFN from the system.

Example 2: Removing All Job Watcher Definitions That Start With MY

RMVJWDFN   DFN(MY*)

This command removes all Job Watcher definitions with names that start with MY from the system.

Error messages

*ESCAPE Messages

CPF3203
Cannot allocate object for file &1 in &2.
CPF3220
Cannot do operation on file &1 in &2.
CPF7301
&5 members not removed from file &2 in &3.
CPF7310
Member &1 not removed from file &2 in &3.
CPFB518
The user does not have the required authority.
CPFB51B
Option *SELECT is only valid if the command is being run interactively.