here is a link for all the cobol documentation in the IBM library server. Suggest you pick the manual that fits your site's COBOL. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
The EJECT statement has no effect on the compilation of the source unit itself.
EJECT is compiler directing statement in COBOL.
The EJECT statement specifies that the next source statement is to be printed at the top of the next page.
When compiler prints the listings of COBOL source code all the lines after EJECT will be next new page. EJECT wont get printed in listing.
SKIP is another similar kind of statement - SKIP n
It will skip n lines before continuing to print.
Syntax rules -
EJECT should be only one statement on that line
can be termined with period.
can be written in area A or area B. _________________ Natarajan
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum