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 inspect in cobol ?

1022


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

846


Give some examples of command terminators?

954


how do you reference the ksds vsam file formats from cobol programs

884


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

916


Why would you use find and get rather than to obtain?

908


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

949


In COBOL, what is the different between index and subscript?

959


How to know whether the module is dynamical or statistical?

878


How arrays can be defined in COBOL?

843


In COBOL programming, what is PERFORM? What is VARYING?

874


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

861


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2130


What are various search techniques in cobol? Explain.

875


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1079