Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Reclaim Optical (RCLOPT) command rebuilds the optical index database files and/or the internal library indexes. These files and indexes are used to maintain volume and directory information. Following are some of the reasons the files and indexes may need to be rebuilt: after CISC to RISC migration, after optical media is physical moved or removed by hand, after a hardware failure while media was being moved, or when a database or index has been damaged or destroyed. This command requires exclusive use of the directly-attached optical device.
Note: This command may take an extended period of time to complete - possibly more then 24 hours. The time to completion is influenced by several factors including: number of optical libraries, number of media in each library, capacity of each media, number of files and directories on each media and the options chosen on the command.
Restriction: You must have *USE authority to use this command. It is shipped with *EXCLUDE public authority.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MLB | Optical media library | Name, *ALL | Required, Positional 1 |
OPTION | Option | *SYNC, *UPDATE, *RESET | Optional, Positional 2 |
VOL | Volume identifier | Character value, *ALL | Optional |
DIR | Rebuild directory index | *NO, *YES | Optional |
Top |
Specifies the directly-attached optical device for which the optical indexes are rebuilt.
Top |
Specifies which type of reclaim operation is performed.
Top |
Specifies which volumes are used during the reclaim operation when OPTION(*UPDATE) is specified.
Top |
Specifies whether the optical directory index is rebuilt for each volume processed during Reclaim Optical processing. This parameter only applies to options *UPDATE and *RESET. When *SYNC is specified, DIR(*NO) will be used. In addition, this option does not apply to volumes which have a media format type of *UDF since directory index information is not maintained for *UDF volumes. When *UDF volumes are processed, DIR(*NO) will be used.
Note: Choosing the value *NO may result in less time being required to complete the Reclaim Optical request.
Top |
RCLOPT MLB(OPT01) OPTION(*UPDATE) VOL(VOL01) DIR(*YES)
This command re-creates both the optical volume index and the optical directory index for the optical volume VOL01 in the optical media library OPT01.
Top |
*ESCAPE Messages
Top |