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 does jcl specify the job to the operating system?
How can unused space allocation be returned to the system when a dataset is closed?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
Which statement is used to identify the private libraries in job?
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
Which is the most widely used batch performance monitor for DB2?
What is one line to pass PARM from JCL to COBOL?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
List the various advantages of using jcl language?
Explain about LMPUT-
wht is step lib n job lib ? where can we code joblib n steplib ?
wht r different types of sorts ?