Return Codes (RC) for the BEX command-line interface
In the output of the BEX commands, there is the “RC” column for the return codes (RCs) that are defined as follows:
| RC | Description |
|---|---|
| 0 | Success. The job was successful. |
| 1 | Job canceled. An operator terminated the job. |
| 2 | All backup tasks have completed and have been cataloged, but not all files have been successfully backed up. |
| 4 | Partial failure. One or more tasks failed; the successful tasks were cataloged. |
| 8 | No data. No files were backed up; during an incremental or differential backup no new or modified files were found; pre-script failed. |
| 16 | Fail. Job failed; no tasks cataloged. |
| 32 | Partial cancel. An operator terminated the job, but one or more tasks were successful and were cataloged. |
| 64 | A restore job that required hardware decryption completed successfully, but the tapes used are not secured. |
| 99 | Job failed. |
BEX CLI RCs and Job RCs have the same definition.