Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
[Solved]Doubt on exit para.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Doubt on exit para.
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    Post subject: Re: Doubt on exit para.
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    Post subject: Re: Doubt on exit para.
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EXIT or RETURN cvnlynn CLIST & REXX 18 Wed Jul 19, 2017 2:50 am
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us