IBM0265S
ONCODE=oncode-value. The UNDEFINEDFILE condition was raised because the file could not be opened Subcode1= sc1 Subcode2=sc2 (FILE= or ONFILE= file-name).

Explanation

The file could not be opened. Subcode1 indicates why the file could not be opened and Subcode2, if not zero, indicates the return code ( in hexadecimal ) given by the operating system or DDM. Subcode2 information is mainly used by IBM® support when diagnosing problems. The meaning of the Subcode1 values are as follows:
Subcode 1 value Meaning
1, 2 No RECCOUNT or RECSIZE values were given via the ENVIRONMENT option or the set DD or export DD environment variable.
3 A positioning error occurred for a sequential output file.
4 TYPE(FIXED) was specified for a native file, but the file size was not a multiple of RECSIZE.
5, 13 A positioning error occurred for a regional(1) file.
6 - 12 A positioning error occurred for an output file.
21 - 23 AMTHD(DDM) was specified on the DD environment variable but the DDM loadable component (DUBRUN and DUBLDM on OS/2, or PLI_DDM on AIX®) could not be found or could not be accessed on the system.
24 Incorrect extended attribute existed on a DDM file.
25 The ORGANIZATION option of the ENVIRONMENT attribute conflicted with the type of data set (DDM or native).
26 Conflicts exist with the way the file is being used.
27 A composite key was detected with a keyed-opening. Composite keys are acceptable only for non-keyed openings.
28 - 30 A new DDM file could not be created.
31 A positioning error occurred for a DDM file.
35 AMTHD(BTRIEVE) was specified on the DD environment variable but the BTRIEVE loadable component (BTRCALLS) could not be found or could not be accessed on the system.
36 Unexpected error occurred when opening a BTRIEVE file.
37 A new BTRIEVE file could not be created.
38 A positioning error occurred for a BTRIEVE file.
40 AMTHD(ISAM) was specified on the DD environment variable but the ISAM non-multithreading loadable components(IBMOS20F and IBMOS20G on OS/2, or IBMWS20F and IBMWS20G on Windows) or the ISAM multithreading loadable components(IBMOM20F and IBMOM20G on OS/2, or IBMWM20F and IBMWM20G on Windows) could not be found or could not be accessed on the system.
41 Unexpected error occurred when opening an ISAM file.
42 A new ISAM file could not be created.
43 A positioning error occurred for an ISAM file.
62 Query for file information failed for a VSAM file under MVS™ batch.
63 A non-VSAM file is being opened as a VSAM file under MVS batch.
64 A VSAM file is being opened with an invalid type (that is, the file is not a KSDS, ESDS, or RRDS file).
65 A VSAM file is being opened in a non-MVS batch environment. VSAM files are only supported under MVS batch.
67 A VSAM file is being opened as a non-VSAM file under MVS batch.
68 An invalid VSAM file is opened.
69 Query for file information failed for a native file under MVS batch.
70 Positioning for a VSAM file failed.
The ONCODE associated with this message is 99.

System action

The ERROR condition is raised.

Programmer response

Re-issue the DD environment variable and use the information to correct the program.

Symbolic Feedback Code

IBM089