
EJECT command in COBOL
Sat, 06/18/2011 - 18:06
EJECT command in COBOL
In my shop, I see "EJECT" command used in many places in the COBOL program, but this does not seem to be an executable command.
What is the purpose of using EJECT command in COBOL?
"; ; ; ;
Wed, 07/06/2011 - 12:39
#1
Refer COBOL manual
Eject statement is used for printing purpose of COBOL source code. It works as a page skip command for printing.
Refer the link:-
Thu, 07/07/2011 - 20:21
#2
Eject and skip verbs.
Eject and skip verbs in COBOL only have a purpose when creating hard copies of the program compile listings.
Since most of us Cobol programmers are considerate of the removal of the rain forests to create paper we no longer create hard copis of the program compile listings.
I personaly regard these statements as clutter and remove them as soon as i edit a COBOL program. i have facilitated this action by creating an edit macro to remove them as soon as i edit a program.
Click the +1 button below to share it with your friends and colleagues
Share this if you liked it!