CL Command Reference - RCLOPT

CL Command List > RCLOPT Reference

Description:

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.


Examples:

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.