View previous topic :: View next topic
|
Author |
Message |
k99x
New User
Joined: 22 Mar 2010 Posts: 7 Location: Amsterdam
|
|
|
|
call chain - A->B->C-> D
Can I cancel program D in B (using the cancel statement) ?
Also, will the cancel statement erase the load and the working storage information from memory? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is a link to the manuals at the top of the page. What did the COBOL Language Reference and Programming Guide manuals tell you when you looked? The answers are in the manuals -- although it is important to note that the answer differs depending upon whether or not the modules are dynamically loaded or not. |
|
Back to top |
|
|
k99x
New User
Joined: 22 Mar 2010 Posts: 7 Location: Amsterdam
|
|
|
|
Yup, got the answer. Thank you.
In my case the programs are dynamically loaded.The manual also says that cancelling a program will result in the cancel of all the programs that it calls.I guess the manual is referring to both static calls and dynamic calls that the program makes. |
|
Back to top |
|
|
|