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 test volume eligibility function. See CBRXLCS return codes for more information.
Return code | Error type | Reason code | Meaning |
---|---|---|---|
0 | Successful | 0 | The volume is eligible to be mounted on the device. |
4 | 51 | Volume is ineligible because its use attribute is SCRATCH; for example, this is a specific request for a scratch volume. | |
52 | Volume is ineligible because it is not library resident but the device is defined to a tape library. | ||
55 | Volume is ineligible because it is library resident but the device is not defined to the same tape library. | ||
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. | ||
18 | Required UCB address not specified. | ||
19 | Invalid address specified for UCB. | ||
29 | Invalid parameter address specified for LCSPL. | ||
30 | LCSPL not aligned on fullword boundary. | ||
12 | Failure | 58 | Failure accessing the volume record in TCDB. |
59 | Failure accessing library record in TCDB. | ||
64 | Unable to determine in which library the volume resides. | ||
84 | Abend occurred during LCS External Services processing. | ||
310 | Media type or recording technology not supported at this software level. | ||
16 | Environment | 80 | LCS External Services unable to establish ESTAE. |