Return codes for CBRXLCS EXPORT

The return code is placed in register 15 and in the LCSPL in field LCSRCODE. The reason code is placed in register 0 and in the LCSPL in field LCSREAS.

Table 1 represents the reason codes associated with each of the return codes returned by the export function. These reason codes reflect the scheduling of the export function to the library, not the actual results of the export function. See CBRXLCS return codes for more information.

Table 1. EXPORT return and reason codes
Return code Error type Reason code Meaning
0 Successful 0 Successfully scheduled.
8 Invalid request  9 Required type parameter not specified.
    11 Invalid value specified for type.
    12 Required function parameter not specified.
    13 Invalid value specified for function.
    16 Required volume parameter not specified.
    17 Invalid volume serial specified.
    29 Invalid address specified for LCSPL.
    30 LCSPL not aligned on fullword boundary.
12 Failure 45 Library name as defined in volume record not found in TCDB.
    52 Volume is not library resident.
    58 Failure accessing volume record in TCDB.
    59 Failure accessing library record in TCDB.
    61 Device services failure.
    63 Volume record not found in TCDB.
    70 Volume does not exist in library manager inventory.
    84 Abend occurred during LCS External Services processing.
    310 Media type or recording technology not supported at this software level.
    312 Function is not compatible with the library (the request cannot be performed by the library due to its current state, its configuration, or set of installed features).
    313 Volume is currently in use.
    314 Import/Export already in progress or host processing not complete.
    315 Not enough physical drives available in VTS.
    316 Export operation not in progress.
    317 No scratch stacked volume available.
    322 Command rejected by the library.
    326 Selective device access control group denied request.
    327 Selective device access control group is not valid.
16 Environment 2 OAM control block structure not available.1
    80 LCS External Services unable to establish ESTAE.
    93 Library is offline, pending offline, or not operational.
    403 Eject processing has been disabled because an error in the eject installation exit has been detected.
    404 OAM address space not available.
1Depending on the CBRXLCS function being performed, one or more OAM initialization-related control blocks might be required. First, verify whether the OAM1 subsystem entry was specified in the IEFSSNxx PARMLIB member. Then verify whether the OAM address space has been started.