what is static and dynamic call with examples?
Answers were Sorted based on User's Feedback
Answer / vasanth
But looking at the program we can find if the called
program is static or dynamic by below ways :
If the called program is mentioned as a literal in the main
program , then you can say that it is a static program if
the compiler option is NODYNAM else it is a dynamic
program .If the called program name is mentioned as a
variable in the main program , then it is a dynamic program
irrespective of the compiler option.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / rangarao chitipothu
STATIC CALL: a call is a sub program at the time to compilation.here caller and called are one module.
--> It used more cpu time.
--> memory required can be more.
DYNAMIC CALL: a call to the subprogram at the time of execution(run time) is called dynamic call. here caller and called are separate load modules and they sharable by multiple calls.
--> it used less cpu time.
--> Memory required can be less.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chaitanya
can any one give me a sample code regarding the static call
and dynamic call?
how can u go to conclusion when we saw the code in the first
look at the code?
plzzzzzzzzzzzzz tell me reply......
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / naga
in ou
Frequently changes in our program we using dynamic call
otherwise we using static call.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to resolve sb37,sd37 se37 abends
what is DSN in JCL and what are the parameters to declare the DSN?
Which COND paramter will u use to execute the step only if the previous step does not execute
What is GDG and what is the maximum limit of versions that can be created?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How to find in aparticular step how many versions a paricular gdg base have?
How do you submit JCL via a Cobol program?
Is it possible to code instream data in a PROC?
hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)
How to search strings in multiple dataset with conditions 'string1 & string2'?
Explain the purpose of dd dummy statement?
what is the difference between JES3 and JES2?