Please let me know at which Scenarios we will go for STATIC
call or DYNAMIC
Answers were Sorted based on User's Feedback
Dynamic calls are used when subprogram is called frequently.
===>
As far as i know, when submprogram is small it is better to
make static calls
| Is This Answer Correct ? | 3 Yes | 1 No |
If it is static call. More memory will be utilized as the
called program is also included in the compilation.
Compilation mightslightly take more time when comapred with
dynamic calls.Dynamic calls are always done at run time
and execution time for Dynamic calls might be more than
static calls.
Usage of static and dynamic calls depends on your
requirement, based on specific condition- Say when Var1=0 u
need to call PGM1 and whn Var1=1 u need to call PGM2 then u
have to go for dynamic call.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mahesh
Dynamic calls are used when subprogram is called frequently.
| Is This Answer Correct ? | 1 Yes | 3 No |
Why occurs cannot be used in 01 level in COBOL?
What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?
i need a small 3d program using inline and outline.
How many maximum number of procedures can we write in one COBOL program?
Give some examples of command terminators?
wht is load module and object module ?
perform I from 0 by 1 until I=5?How maney times it will executes
how do u indetify files succesfully executed or not ?
What is 66 level number and where it is used in real time by software developers?
2 Answers ITC Indian Tobacco Company, TCS,
how can u redefine picx(10) with pic 9(6).
Explain Restart Logic in Cobol?
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)