View previous topic :: View next topic
|
Author |
Message |
rachel
New User
Joined: 09 Mar 2005 Posts: 13
|
|
|
|
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?
Need reply soon , somebody please help. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
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. |
|
Back to top |
|
|
rachel
New User
Joined: 09 Mar 2005 Posts: 13
|
|
|
|
THANK YOU |
|
Back to top |
|
|
|