Recovery from file system errors
This section describes the errors you might receive and the actions you should take to recover from those errors.
- Normal completion of errors by the system
A major and minor return code of 0000 indicates that the operation requested by your program completed successfully.
- Completion with exceptions of errors by the system
The system assigns several rather specific major return codes (such as 02, 03, and 0309) to conditions for which a specific response from the application program is appropriate.
- Permanent system or file error
A major return code of 80 indicates a serious error that affects the file.
- Permanent device or session error on I/O operation
A major return code of 81 indicates a serious error that affects the device or session.
- Device or session error on open or acquire operation
A major return code of 82 indicates that a device error or a session error occurred during an open or acquire operation. Both the minor return code and the accompanying message will provide more specific information regarding the cause of the problem.
- Recoverable device or session errors on I/O operation
A major return code of 83 indicates that an error occurred in sending data to a device or receiving data from the device. Recovery by the application program is possible. Both the minor return code and the accompanying message provide more specific information regarding the cause of the problem.
Parent topic:
Troubleshooting database file management