What is the difference between static call & Dynamic call ?
Answer Posted / muttiah
PFB the difference between static and dynamic call.
Static Call: We can find whether a call is static or
dynamic in 2 ways. If the call statement is like this
call 'Progrname' ----> Static call
Call ws-variable ----> Dynamic call
By looking at the compiler options.
If Dynam -- Dynamic call, Nodynam ---> Static call..
No Dynam is default.
In Static call the load module of the sub program resides
in the same memory where the Main program resides.
Whereas in case of Dynamic call. The load module will be
called into memory only during run time. As a consequence.
The Static call is much faster..Dynamic call is slower.
Memory will be saved in case of dynamic call..
Static call is used for small sub programs.
Dynamic call is used for large sub programs.
Choosing the type of call either static or dynamic depends
on your requirement.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the purpose of the dd keylen parameter?
Differentiate between the joblib and the steplib statements?
How does jcl act on a cobol code?
How do you overcome this limitation ?
Explain the function of dd disp parameter?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
what are the types of abends that occur on job failure? And explain the possible causes of these
What are the difference between jcl and jes?
which utility is used to run a cobol-db2 program?
What is the function of the dd dcb keyword?
Explain how can a jobs execution priority be modified?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How to run cobol program using jcl?
how to run batch program without jcl?