End Disk Watcher (ENDDW)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Disk Watcher (ENDDW) command ends a Disk Watcher collection.
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 |
---|---|---|---|
COL | Collection | Name, *SELECT | Optional |
LIB | Library | Name | Optional |
Top |
Collection (COL)
Specifies the Disk Watcher collection to end.
- *SELECT
- A list of active Disk Watcher collections will be displayed for user selection. This list will also identify the job in which each collection is running. This value is valid only if the command is run in an interactive job.
- name
- Specify the name of the collection which will be ended. The collection name is the same as the name of the member where data is being written.
Top |
Library (LIB)
Specifies the library of the Disk Watcher collection to end.
Note: A value must be provided for this parameter if a collection name is specified on the Collection (COL) parameter.
- name
- Specify the name of the library where data is being written for this collection.
Top |
Examples
Example 1: End a Disk Watcher Collection
ENDDW COL(MYMBR) LIB(MYLIB)
This command will end the Disk Watcher collection which is writing data to member MYMBR in the Disk Watcher database files in library MYLIB.
Example 2: Select a Disk Watcher Collection to End from a List
ENDDW COL(*SELECT)
This command will display a list of active Disk Watcher collections from which the user can select the collection to end.
Top |
Error messages
*ESCAPE Messages
- CPF2401
- Not authorized to library &1.
- CPF9810
- Library &1 not found.
- CPF9812
- File &1 in library &2 not found.
- CPF9815
- Member &5 file &2 in library &3 not found.
- CPFB513
- The user does not have the required authority.
- CPFB51B
- Option *SELECT is only valid if the command is being run interactively.
Top |