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
What is the function of the steplib dd statement?
Explain how can a stopped job be started again?
is there any way to execute more than one proc in the same exec statement at the same time..?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
how can you check if a file is empty using jcl?
Explain the hierarchy levels in jcl?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
How does jcl specify the job to the operating system?
Is it possible to code instream data in a PROC?
define cond parameter in jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
What is the difference between the positional and keyword parameters? Give examples.
Is automatic restart possible in jcl? If yes, how?
In job processing, what happens in execution stage?