Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Optical Directories (WRKOPTDIR) command displays a list of optical directories and provides options to create, to copy, to delete, and to display or print a list of directories and their attributes. This command also allows you to work with files in the directories.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DIR | Optical directory | Character value, *ALL | Optional, Positional 1 |
VOL | Volume identifier | Character value, *ALL | Optional, Positional 2 |
SORT | Sort by | *DATE, *DIR | Optional, Positional 3 |
SLTLVL | Select directory level | Integer, 1, *ALL | Optional |
STRDATE | Starting date | Date, *AVAIL | Optional |
Top |
Specifies the optical directories to be listed.
Top |
Specifies the identifier of the volume that contains the directories specified on the DIR parameter.
Top |
Specifies how the output for each volume is sorted.
Note: If the optical volume was initialized as a backup volume, this parameter is ignored.
Top |
Specifies the number of levels of the directory structure to include in the list when SORT(*DIR) is specified.
Note: If the optical volume was initialized as a backup volume, this parameter is ignored.
Top |
Specifies the starting date for the list when SORT(*DATE) is specified. Only directories created on or before the starting date are listed.
Note: If the optical volume was initialized as a backup volume, this parameter is ignored.
Top |
WRKOPTDIR VOL(VOL01)
This command displays the Work with Optical Directories panel, showing a list of all optical directories on the volume VOL01 sorted by the date they were created.
Top |
*ESCAPE Messages
*STATUS Messages
Top |