Reclaim Library (RCLLIB)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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.

This command rebuilds, where possible, internal objects of the library that were damaged or destroyed.

Restrictions:

  1. You must have object existence (*OBJEXIST) and use (*USE) authorities for the library to be rebuilt. This is the same authority required to delete a library with the Delete Library (DLTLIB) command.
  2. 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.
  3. This command can be used on any library other than QTEMP.
Top

Parameters

Keyword Description Choices Notes
LIB Library Name Required, Positional 1
Top

Library (LIB)

Specifies the library to be rebuilt.

This is a required parameter.

name
Specify the name of the library to be rebuilt.
Top

Examples

RCLLIB   LIB(TESTLIB)

This command determines if the object descriptive information of library TESTLIB is damaged. The damaged parts of the library are rebuilt.

Top

Error messages

*ESCAPE Messages

CPF210A
Cannot reclaim library &1.
CPF210B
Attempt to reclaim library &1 failed.
CPF2127
User profile &2 damaged.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
CPF9830
Cannot assign library &1.
Top