PL/I · Exception

ONCODE 70: ENDFILE

What does ONCODE 70: ENDFILE mean in PL/I?

A sequential READ reached the end of a file, or a SIGNAL ENDFILE statement was executed directly.

ONCODE 70: ENDFILEIBM Enterprise PL/I for z/OS · PL/I for AIX

Condition

A sequential READ reached the end of a file, or a SIGNAL ENDFILE statement was executed directly.

Fix

This is the normal way a program detects end of file. If the program is stopping earlier than expected, check for an extra READ, or a file genuinely shorter than the program assumes.

Pending source verification. Not yet checked against official documentation.

Related exception