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 / kingmanish

The dynamically called program is loaded once a call is
made to it dynamically by a calling program.
The program is initialised only when it is called for the
first time and remains in memory till the end of calling
program.

After the first call from second call onwards the called
program should be initialised.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2100


) How do u handle errors in BMS macro

1512


What are the different types of condition in cobol and write their forms.

660


What are various search techniques in cobol? Explain.

650


Explain how to differentiate call by context by comparing it to other calls?

689






What is the difference between PIC 9.99 and PIC9v99?

783


what is difference between cobol and cobol/400

21570


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


How do you reference the fixed block file formats from cobol programs

709


What is report-item in COBOL?

711


How do we get current date from system with century in COBOL?

807


What is an in line perform? When would you use it? Anything else you wish to say about it.

649


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

2221


What is the use of intialize verb?

751


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

712