Explanation
The operating system or access method encountered
an error during the open process. Subcode1 indicates why the file
could not be opened. Subcode2, if not zero, indicates the return
code ( in hexadecimal ) given by the operating system or access method.
Subcode2 information is mainly used by IBM® support
when diagnosing problems. The meaning of the Subcode1 values are as
follows:
- 50 - A non-existent ISAM file is being opened for input.
- 51 - An unexpected error occurred when opening an ISAM file. Subcode2
gives the return code from ISAM.
- 52, 53 - An unexpected error occurred when opening a native or
REGIONAL(1) file.
- 54 - A non-existent BTRIEVE file is being opened for input.
- 55 - An unexpected error occurred when opening a BTRIEVE file.
Subcode2 gives the return code from BTRIEVE.
- 56 - An unexpected error occurred when opening a DDM file.
- 57,58 - An unexpected error occurred when opening a DDM sequential,
DDM relative or DDM indexed file. Subcode2 gives the return code
from DDM.
- 59 - An attempt was made to open a file that was already open.
- 60 - A file of invalid type is being opened. An example of this
is opening a VSAM file under UNIX System
Services. VSAM files are not supported under UNIX System Services.
- 66 - Open of a VSAM file failed. Subcode2 gives the feedback code.
The ONCODE associated with this message is 93.
System action
The ERROR condition is raised.
Programmer response
For Subcodes 50 and 54, ensure the input
file exists. For Subcode 60, ensure the file being opened has a file
type that is supported by the operating system under which the program
is being run. For all the other subcodes, call IBM Support for assistance.
Symbolic Feedback Code
IBM07C