CBRXLIB return codes

CBRXLIB is an internal macro used to manipulate the library records in the tape configuration database (TCDB). Table 1 describes the return codes.

Table 1. CBRXLIB Return Codes
Return Code Error Type Description
0 Successful Successful execution.
4 Request not executed For tape library record creation, a tape library record with the same library name is already present in the TCDB. For tape library record retrieval the tape library record is not present in the TCDB or the TCDB does not exist. For tape library record update, the requested tape library record is not present in the TCDB.
8 Parameter list error Parameter list invalid for requested function.
12 Environmental error Internal processing error. The request could not be completed due to the failure of a system service.
16 Catalog authorization error The user of CBRXLIB does not have the SAF/RACF authority to perform the requested function on the user catalog that contains the TCDB. The return code, module ID, and reason code from the catalog service routine are contained in the LCPL, in fields LCPCTRET, LCPCTMOD, and LCPCTRSN, respectively.
20 Catalog access error The return code, module ID, and reason code from the catalog service routine are contained in the LCPL, in fields LCPCTRET, LCPCTMOD, and LCPCTRSN, respectively.