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 |
A s9(4). B v9(4) value 0.21 can i move this?
9(2).99 how many bytes take? Why . consider as a byte?
What is the maximum length of a field you can define using COMP-3?
4 Answers Complex System, Infosys,
At the minimum, which division of COBOL is enough to be coded?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
What is file status 92?
What does the IS NUMERIC clause establish ?
) How do you access the migrate the data from production region to development region
what is difference between cobol and cobol/400
What is the difference between a subscript and an index in a table definition?