When you set the value of the IBM_SORT_RC environment variable to 1, the PL/I library returns more informative return codes from the PLISRTx calls, for example:
export IBM_SORT_RC=1
Table 32 lists the possible return codes from PLISRTx calls and the types of errors that are detected when you specify IBM_SORT_RC=1.
| Return Code | Type of Error Detected |
|---|---|
| 1-32 | Internal error detected. |
| 34 | Read error on file detected. |
| 35 | Write error on file detected. |
| 36 | Cannot open input file. |
| 37 | Cannot open message file. |
| 38 | Internal error detected. |
| 39 | Internal error detected. |
| 40 | Not enough temporary disk space. |
| 43-47 | Internal error detected. |
| 49 | Insufficient storage to continue execution. |
| 50-55 | Internal error detected. |
| 57 | Cannot open output file. |
| 58 | Cannot open temporary file. |
| 61-62 | Internal error detected. |
| 112 | No msg disk full. |
| 232-233 | Internal error detected. |
| 254-255 | Internal error detected. |