IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is meant by 'EJECT' in cobol programming


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkumar

New User


Joined: 13 Jun 2005
Posts: 6

PostPosted: Tue Jun 14, 2005 11:28 am
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
j_prameela2000

New User


Joined: 01 Jun 2005
Posts: 28
Location: Chennai

PostPosted: Tue Jun 14, 2005 12:06 pm
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

Active User


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

PostPosted: Tue Jun 14, 2005 12:28 pm
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

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 16, 2005 11:00 am
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: 363
Location: Earth

PostPosted: Thu Jun 16, 2005 11:04 am
Reply with quote

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

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 16, 2005 11:10 am
Reply with quote

thanks for fast reply.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top