What are differences between Static Call and Dynamic Call?
Answer Posted / iqru
Static Call - 1) Identified by CALL Literal i.e CALL 'PGM1'
USING... 2)Compiler option must be specified as 'NODYNAM'.
3)If the subprogram i.e PGM1 undergoes any change, the main
and sub modules need to be recompiled. 4)submodules needs
to be link edited to the main module. 5) Size of the load
module will be large.
Dynamin Call - 1) Identified by CALL literal with the
module being passed through a variable. i.e CALL WS-PGM1.
2) Compiler option must be specified as 'DYNAMIC'
or 'DYNAM'. 3)If the subprogram which is being called
dynamically undergoes a change , the subprogram is alone
compiled enough to take effect of the changes. Compilation
of main module is not necessary. 4) submodules are picked
up from the load library when the program runs. 5) Size of
the load module will be less.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
how to move the records from file to array table. give with code example
how do you reference the fixed unblock file formats from cobol programs
how can i see junk values in dclgen or in hostvariable of comp ?
What is the compute verb? How is it used?
How do you define a variable of comp-1 and comp-2?
Mention the guidelines to write a structured cobol program?
How can you get the ksds file records into your cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you reference the variable block file formats from cobol programs
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
what happens if parmparameter passes zero bytes to the program
What is perform what is varying?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there