Remove Disk Watcher Definition (RMVDWDFN)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Disk Watcher Definition (RMVDWDFN) command removes one or more Disk Watcher definitions from the system.
Restrictions:
- To use this command, you must have service (*SERVICE) special authority, or be authorized to the Disk Watcher function of the operating system. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_SERVICE_DISK_WATCHER, can be used to change the list of users that are allowed to use this command.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
DFN | Definition | Generic name, name, *SELECT, *ALL | Optional |
Top |
Definition (DFN)
Specifies the name of the Disk Watcher definition to be removed. A specific or generic definition name, or *ALL, can be specified.
- *SELECT
- A list of existing Disk Watcher definitions will be displayed for user selection. This value is valid only if the command is run in an interactive job.
- *ALL
- All Disk Watcher definitions are removed.
- name
- Specify the name of the Disk Watcher definition to be removed.
- generic-name
- Specify the generic name of the Disk 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.
Top |
Examples
Example 1: Removing a Single Disk Watcher Definition
RMVDWDFN DFN(MYDWDFN)
This command removes the member named MYDWDFN from the system.
Example 2: Removing All Disk Watcher Definitions That Start With MY
RMVDWDFN DFN(MY*)
This command removes all Disk Watcher definitions with names that start with MY from the system.
Top |
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.
- CPFB513
- The user does not have the required authority.
- CPFB51B
- Option *SELECT is only valid if the command is being run interactively.
Top |