What compiler option would you use for dynamic linking?
-
DYNAM
-
DYN
-
DYNA
-
None of the above
A
Correct answer
Explanation
The DYNAM compiler option in COBOL directs the compiler to generate dynamic calls for subprograms referenced in CALL literal statements. Using DYNAM allows programs to be loaded dynamically at runtime rather than being statically bound into the executable module, saving memory and improving modularity.