IBM0243S
ONCODE=oncode-value The UNDEFINEDFILE condition was raised because an attempt to position the file at the last record failed (FILE= or ONFILE= file-name). Subcode1= sc1 Subcode2= sc2

Explanation

When the ENVIRONMENT option BKWD is specified for a file open, the file must be positioned at the last record. If an attempt to position at the last record fails, the file is closed and the UNDEFINEDFILE condition is raised with this message. Subcode1 and Subcode2 provide detailed VSAM diagnostic information. See message IBM0811S for an explanation of these fields. This message is also issued if the data set only consists of deleted records. For this case, the subcodes are zero.

System action

The ERROR condition is raised.

Programmer response

Use the VSAM diagnostic information to correct the cause of the error and resubmit the program.

Symbolic Feedback Code

IBM07J