
Custom Search
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.
"; ; ; ;
Click the +1 button below to share it with your friends and colleagues
Who's onlineThere are currently 0 users and 23 guests online.
|
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