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 can you trap abends in the JCL?
Is it possible to left uncode disp?
How to view the hexa decimal value thru file aid if copy book is not present for that particular data
What is use of restart and how to use it?
How do you pass parameters to the program as the job is being executed ?
What are the default system and catalog libraries in JCL?
is there any utility for restarting a particular step in jcl reply soon ?
What is GDG?
For how long a job can be executed continuously in a mainframe ?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
What is a Dummy Utility and what it does ?