What is the difference between a DYNAMIC and STATIC call in
COBOL?
Answer Posted / pratul singh
The Difference between DYNAMIC and STATIC is that the
STATIC call create a single load library(EXE) both Main
program as well as subprogram while the DYNAMIC call create
separate load library(EXEs) for Main program and subprogram.
STATIC CALL Example:
CALL '<subpg-name' using <argument>
DYNAMIC CALL Example:
01 WS-SUBPG-NAME PIC X(8) VALUE 'AAAAAAAA'
CALL <WS-SUBPG-NAME> USING <argument>
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
What is perform what is varying?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
) how do u code after getting data?
Why occurs cannot be used in 01 level in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
what is difference between cobol and cobol/400
how do you reference the variable block file formats from cobol programs
What is a SSRANGE and NOSSRANGE?
how do you reference the fixed unblock file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
What is the compute verb? How is it used?
Write down the divisions of cobol program?
A table has two indexes defined. Which one will be used by the SEARCH?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?