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 |
How many bytes S(8) comp field occupy and its maximum value?
Can we access the a[0] in the array ?
consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
What is the mode in which you will OPEN a file for writing?
What is the meaning of 'Eject' verb in cobol?
what is the purpose of linkage section?
What is the difference between working storage copybook and linkage section copybook?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
A table has two indexes defined. Which one will be used by the SEARCH?
What guidelines should be followed to write a structured Cobol program?
Explain Restart Logic in Cobol?
What is the Importance of GLOBAL clause According to new standards of COBOL?