Skip to Content
Custom Search

EJECT command in COBOL

2 replies [Last post]
Anonymous

 

 

 

 

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?

 

 

"; ; ; ;
Sponsored Listing
siteadmin
Offline
Joined: 07/25/2010
Posts:
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:- 

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/evfeb4ls83.htm

Alan.R.Wynne
Offline
Joined: 07/07/2011
Posts:
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!

 

Disclaimer



Who's online

There are currently 1 user and 26 guests online.

Online users

  • Daymude7837
Dr. Radut | forum