RCLLIB (Reclaim Library)
Purpose
The Reclaim Library (RCLLIB) command rebuilds the internal objects of a library that contain the object descriptive information for all objects in the library and the library object itself. The library size is not reduced as a result of running this command. If the library does not contain any objects and you want to reduce the size of the library, delete and recreated the library.
This command rebuilds, where possible, internal objects of the library that were damaged or destroyed.
Restrictions
- The user must have *OBJEXIST and *USE authority to the library being rebuilt. This is the same authority required to delete a library with the DLTLIB command.
- Only the internal objects of a library which contain the object descriptive information are rebuilt. No other objects in the library are validated or rebuilt.
- This command can be used on any library other than QTEMP.
Parameters
- LIB
- Specifies the name of the library being rebuilt.
Example for RCLLIB
RCLLIB LIB(TESTLIB)This command determines if the object descriptive information of library TESTLIB is damaged. The damaged parts of the library are rebuilt.