In COBOL CALL-CALLING,if a program A is calling 3 sub-
programs, dynamically, then it is said sub-programs will
always will always in Initial Mode. My question is : Do we
need to code CANCEL or (IS INITIAL) for dynamically called
sub-programs or it is the property of Dynamically called
pgms so every time sub-pgms are called they will be in initial
mode. ***This question is only Dynamic call****,
Please reply. Thank you in advance.

Answer Posted / adarsha

The DYNAMIC call has to have 2 load modules separately.
Hence the called module is always in the INITIAL state, you
need not to INITIALIZE or CANCEL.

For STATIC CALL above said things are other way around !

Hope I answered ... lem me know if you have any qustns

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between goback, stop run and exit program in cobol?

929


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1771


what is the difference between COBOL2 AND COBOL390?

2453


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958


how to move the records from file to array table. give with code example

2219






What are the different open modes available in cobol?

722


What is static and dynamic call in cobol?

597


Have you used comp and comp-3 in your project? And how?

2008


Can a Search can be done on a table with or without Index?

803


How do you differentiate between cobol and cobol-ii?

656


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


What is the difference between external and global variables in COBOL?

813


State the various causes of s0c1, s0c5 and s0c7.

665


What is inspect in cobol ?

803


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3720