Page 1 of 1

cancel statement in cobol.

Posted: Mon Apr 07, 2014 3:22 pm
by Ashish Mathew
What is cancel statement in cobol? What does it do? When do we use it?

Re: cancel statement in cobol.

Posted: Mon Apr 07, 2014 3:33 pm
by William Collins
If using dynamic CALL, for the first CALL for a given module, that module is loaded into memory. CANCEL for that same program name will remove it from memory.

It is not very likely you will need to use it.

Re: cancel statement in cobol.

Posted: Mon Apr 07, 2014 5:56 pm
by Robert Sample
Ashish Mathew, your question is one of those that is precisely (and completely) answered in the Enterprise COBOL Language Definition manual, which IBM provides online for free at http://www-01.ibm.com/support/docview.w ... wg27036733 . I strongly recommend you take the time to learn how to use the manual to answer this type of question, as you will be more valuable to an employer if you can answer your own questions rather than relying upon someone else (such as a forum) to provide you the answer.

Re: cancel statement in cobol.

Posted: Sat Oct 03, 2015 8:26 pm
by Ashish Mathew
Robert Sample wrote:Ashish Mathew, your question is one of those that is precisely (and completely) answered in the Enterprise COBOL Language Definition manual, which IBM provides online for free at http://www-01.ibm.com/support/docview.w ... wg27036733 . I strongly recommend you take the time to learn how to use the manual to answer this type of question, as you will be more valuable to an employer if you can answer your own questions rather than relying upon someone else (such as a forum) to provide you the answer.
Thanks! Manuals are source of information for sure and I am leaning this ...