IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cancel statement


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
k99x

New User


Joined: 22 Mar 2010
Posts: 7
Location: Amsterdam

PostPosted: Sun May 30, 2010 11:34 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon May 31, 2010 1:23 am
Reply with quote

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
View user's profile Send private message
k99x

New User


Joined: 22 Mar 2010
Posts: 7
Location: Amsterdam

PostPosted: Mon May 31, 2010 8:43 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
No new posts SYNCSORT/ICETOOL JOINKEYS SORT Statem... DFSORT/ICETOOL 13
Search our Forums:

Back to Top