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 |
Explain concatenating datasets?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program anyone please answer me for above questions. it's very urgent
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
What is the format of comment statement?
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,
How can a jobs execution priority be modified?
In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd . Where do you generate the date ??in cobol or JCL ??
can we copy a file from fixed block to variable block and vice versa ....asap
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
How to concatenate different LRECL of files?
how to solve u4038 abbend?........
What is timing concept in mainframe?