What are differences between Static Call and Dynamic Call?

Answer Posted / prince

Static call refers calling of the program in same
storage.Calling the program by its name. The program will be
calling using NODYNAM compiler option.In Static call
subprogram is linked at Compile time.In static call if we
want to edit the subprogram we need to compile both main
program and sub program. Static call calls one
program.Static program takes less time to execute. For
static call both calling and called programs will be having
one load module and they share only one load module.

Dyanamic call refers calling the program may be in differnt
storage.Calling the subprogram by a variable name. The
program is Calling using DYNAM option.In Dyanamic call
subprogram is linked at run time.The program must be in copy
library.In Dynamic call if we want to edit the subprogram we
need to compile only sub program.Dynamic call calls many
program. If the subprogram involves continuous change
Dynamic call is used.But for dynamic calling both calling
and called program have their own seaperate load modules.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1881


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

905


what is the difference between COBOL2 AND COBOL390?

2718


Which mode is used to operate the sequential file?

926


What are declaratives and what are their uses in cobol?

934


Discuss about changing dataset name in proc.

955


Explain the configuration section of a cobol program with examples of syntax.

861


Can you please let me know the centre name of INS certification in Kolkata.

1941


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

1060


What rules are followed by the search verb.

827


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

2286


How to remove 2 duplicate records and copy only one using job control language?

966


What are different data types in cobol?

907


How do define dynamic array in cobol.

857


How you can characterize tables in cobol?

917