COBOL/400 Language Help

NOT or END imperative-statement-1 or -2

The imperative-statement specified on the AT END phrase executes after all records have been returned from file-name-1. No more RETURN statements may be executed as part of the current output procedure.

If an at end condition does not occur during the execution of a RETURN statement, then after the record is made available and after executing any implicit move resulting from the presence of an INTO phrase, control is transferred to the imperative statement specified by the NOT AT END phrase. Otherwise, control is passed to the end of the RETURN statement.


[ Top of Page | Previous Page | Next Page | Table of Contents ]