Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Cancel statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Related question - Cancel statement
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Mon May 31, 2010 1:23 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us