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 use of disp parameter?
What are the 4 fields in dd statement?
what is “Cond= even” and “Cond=only”?
What is the significance of addrspc parameter in the exec statement?
Explain the function of dd disp parameter?
What is the purpose of dd * statement in jcl?
What are the 2 types of parameters in dd statement?
What is the purpose of disp parameter?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Matching Logic in Jcl not in cobol.Could any one please answer this question
Explain the function of //jcllib statement?
what is the compile process of cobol program expalin with code
What is catelog procedure and how many catelog procedure to use in one job?
what are the types of abends that occur on job failure? And explain the possible causes of these
i want to store 20 digits . how will u do it in cobol ?