The EJECT Statement

The EJECT statement tells your COBOL system to print the next line of source code at the top of the next page.

General Format


Syntax Rules

  1. EJECT may begin either in area A or in area B, must be the only statement on the line and may optionally be followed by a period.

General Rules

  1. The EJECT statement itself is not printed.