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
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Are there any set of rules for the names of the steps used in a job? What are they?
What do you understand by the term notcat 2 – gs?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the purpose of disp parameter?
what is use of space parameter in dd statement?
What are the 2 types of parameters in dd statement?
How to pass data to a program that is coded in an exec statement?
How does jcl act on a cobol code?
List the different jcl statements that are not permitted in the procedures?
How dummy is used in jcl?
what is the use of IEBGENER utility?
Where & How Do You Code Identifier In Jcl?
what is JCL?
what is the use of JCL?