Permanent system or file error
A major return code of 80 indicates a serious error that affects the file.
The application program must close the file and reopen it before attempting to use it again, but recovery is unlikely until the problem causing the error is found and corrected. To reset an error condition in a shared file by closing it and opening it again, all programs sharing the open data path must close the file. This might require returning to previous programs in the call stack and closing the shared file in each of those programs. The operator or programmer should refer to the text of the accompanying message to determine what action is appropriate for the particular error.
Within this group, several minor return codes are of particular interest. A major and minor code of 8081 indicates a serious system error that probably requires an authorized program analysis report (APAR). The message sent with the major and minor return code might direct you to run the Analyze Problem (ANZPRB) command to obtain more information.
A major and minor code of 80EB indicates that incorrect or incompatible options were specified in the device file or as parameters on the open operation. In most cases you can close the file, end the program, correct the parameter that is not valid with an override command, and run the program again. The override command affects only the job in which it is issued. It allows you to test the change easily, but you might eventually want to change or re-create the device file as appropriate to make the change permanent.
Parent topic:
Recovery from file system errors