The values for it can be:
RC:
| 0 | OK |
| 1 | Invalid dataset name |
| 2 | Invalid action |
| 3 | Invalid intent |
| 4 | Cluster name error |
| 5 | Error enqueuing on SYSVSAM CLUSTER NAME...B resource |
| 6 | Error enqueuing on I/O resources (not covered by access denied error) |
| 7 | Can't get enqueues on this dataset |
| 8 | Wrong calling mode (jcl,cics or ims allowed) |
| 9 | Any missing parameter error, reason-code holds parameter number |
| 10 | An error when trying to reinstate an ENQ in the test section |
| 11 | An error occurred when removing an expected CICS ENQ before adding a new one |
Reason Codes:
| 0 | OK |
| 1 | Not a valid DS name |
| 2 | DS not found in catalog |
| 3 | Not a VSAM dataset |
| 4 | No shareoption value for the dataset |
| 5 | Wrong catalog record extended-type value |
| 6 | Error in set-cl-name (wrong size) |
| 7 | No name was found in the DATA or INDEX catalog entry for the parent cluster |
| 8 | Name is too long or invalid |
| 9 | The catalog record for the parent (cluster name) of a DATA or INDEX entry was not found |
| 10 | The RELATE entry for an AIX was not found in the VCAT-OPER catalog field |
| 11 | The RELATE entry of the AIX record was found but the value is invalid |
| 12 | Error getting busy enqueue for this dataset |
| 13 | An existing enqueue prevents this enqueue |
| 14 | ES_SHAREOPT!=Y, shareoptions not enabled |
| 15 | The PATHENTRY entry for a PATH was not found in the VCAT-OPER catalog field |
| 16 | The PATHENTRY entry of the PATH record was found but the value is invalid |