End Disk Watcher (ENDDW)

The End Disk Watcher (ENDDW) command ends a Disk Watcher collection.

Restrictions:

Parameters

Keyword Description Choices Notes
COL Collection Name, *SELECT Optional
LIB Library Name Optional

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.

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.

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.

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.