Skip to Content
Custom Search

How to make a COBOL program reentrant

1 reply [Last post]
Anonymous

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.

 

"; ; ; ;
Sponsored Listing
Anonymous
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

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

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 23 guests online.
Dr. Radut | forum