IBM0182S
ONCODE=oncode-value The ENDFILE condition was raised because an end-of-file was previously encountered in STREAM input (FILE= or ONFILE= file-name).

Explanation

The ENDFILE condition was raised when the file mark was encountered but an attempt was made to read beyond the end of the file. Either an ENDFILE ON-unit was run and an attempt was made to read the file or the end-of-file mark was encountered between items in the data list of the current GET statement. The ONCODE associated with this message is 70.

System action

The ERROR condition is raised.

Programmer response

If the program contains an ENDFILE ON-unit, ensure the program does not attempt to read the file after the ENDFILE condition is raised. If the error occurred while a GET statement with two or more items in the data list is running, ensure the GET statement can complete by providing sufficient data items before the end-of-file mark is encountered.

Symbolic Feedback Code

IBM05M