How to make a COBOL program reentrant

2 posts / 0 new
Last post
Anonymous (not verified)
How to make a COBOL program reentrant

Is there any way by which a COBOL program can be made re entrant, i.e. all the working storage area is cleared off after the call and when the program is called second time, it has nothing in the working storage section.

 

"; ; ; ;
Anonymous (not verified)
Assuming that you want to

Assuming that you want to make a sub-routine(sub-program) re-entrant for this you can use the keyword 'cancel' which will clear out all previous data,close files opened by the called program etc.,

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/evfeb4ls83.htm

Log in or register to post comments
Sponsored Listing

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer

Navigation