Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
What is meant by 'EJECT' in cobol programming

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
venkumar

New User


Joined: 13 Jun 2005
Posts: 6

PostPosted: Tue Jun 14, 2005 11:28 am    Post subject: What is meant by 'EJECT' in cobol programming
Reply with quote

hai to all,
what is meant by 'EJECT' in cobol programming.

thank you.
Back to top
View user's profile Send private message
References
j_prameela2000

New User


Joined: 01 Jun 2005
Posts: 28
Location: Chennai

PostPosted: Tue Jun 14, 2005 12:06 pm    Post subject: Re: What is meant by 'EJECT' in cobol programming
Reply with quote

Hi venkumar,

An EJECT statement is coded just before the start of the PROCEDURE DIVISION. This separates the PROCEDURE DIVISION from the other divisions in the program listing. If you make liberal use of page ejects and blank lines in you program, you can greatly improve a program's readability. This may be accomplished by using the SKIP and EJECT statements with some compilers or by using blank lines and special control characters with others.

If I am wrong, please correct me.
Back to top
View user's profile Send private message
radhakrishnan82

Senior Member


Joined: 31 Mar 2005
Posts: 386
Location: chennai, India

PostPosted: Tue Jun 14, 2005 12:28 pm    Post subject:
Reply with quote

You are correct.The preprocessed code is structured to reflect the structuring of the original source code.
Back to top
View user's profile Send private message
sudheer648

Active User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 16, 2005 11:00 am    Post subject: Re: What is meant by 'EJECT' in cobol programming
Reply with quote

Hi Prameela,

I do agree with you have any material stating the same.

Thanks in advance.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 367
Location: Earth

PostPosted: Thu Jun 16, 2005 11:04 am    Post subject: Re: What is meant by 'EJECT' in cobol programming
Reply with quote

Hi,
Check this link for your reference
http://members.aol.com/AHRussell/chap13.htm
Back to top
View user's profile Send private message
sudheer648

Active User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 16, 2005 11:10 am    Post subject: Re: What is meant by 'EJECT' in cobol programming
Reply with quote

thanks for fast reply.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1