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
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Why occurs cannot be used in 01 level in COBOL?
A table has two indexes defined. Which one will be used by the SEARCH?
Difference between array and sub-script ?
what is the use of outrecord?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between comp and comp-3 usage?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
When is inspect verb is used in cobol?
How you can characterize tables in cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How many bytes S(8) comp field occupy and its maximum value?
how do you reference the ksds vsam file formats from cobol programs
Can you please let me know the centre name of INS certification in Kolkata.