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 |
what is ASRA, AEY9?
What is the mode in which you will OPEN a file for writing?
give the examples of strings in cobol
what is Pic 9v99 Indicates?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How can you add a particular field in copybook?
) how do u code after getting data?
Why occurs can not be used in 01 level ?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
A s9(4). B v9(4) value 0.21 can i move this?
what is jcl approach for programming?
How to know whether the module is dynamical or statistical?