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

[Solved]Doubt on exit para.


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

New User


Joined: 09 Mar 2005
Posts: 13

PostPosted: Tue Jul 19, 2005 10:47 am
Reply with quote

Hi,



I have a code ie, perform para1 thru para-exit1. I want to know whether it is a blunder if i introduce another para which is an exit para ?
Are so many exits allowed in between these para1 and para-exit1?
icon_rolleyes.gif


Need reply soon , somebody please help.
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Jul 19, 2005 11:09 am
Reply with quote

Hi,

All that "exit" do is Nothing. !

exit in this sence is just a placeholder.

There is no limitation on the number of exits you can have in your cobol program. But when used in the para, it should be the only statement.

However, as a good programming practice, you should not be puttting exit statements inside para1 thru para1-exit. It reduces the readlibiltiy of your program.

Please let me know if I have not described it properly. icon_smile.gif
Back to top
View user's profile Send private message
rachel

New User


Joined: 09 Mar 2005
Posts: 13

PostPosted: Tue Jul 19, 2005 11:31 am
Reply with quote

THANK YOU
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 Use of Perform Thru Exit COBOL Programming 6
No new posts user exit in IBM Infosphere Optim DB2 8
This topic is locked: you cannot edit posts or make replies. Programa para Realiza Operaciones sob... JCL & VSAM 3
No new posts ACS exit routine JCL & VSAM 0
No new posts Research regarding csqcapx exit CICS 0
Search our Forums:

Back to Top