Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


DYNAM

Use DYNAM to cause nonnested, separately compiled programs invoked through the CALL literal statement to be loaded (for CALL) and deleted (for CANCEL) dynamically at run time. (CALL identifier statements always result in a runtime load of the target program and are not affected by this option.)

DYNAM option syntax
Read syntax diagramSkip visual syntax diagram   .-NODYNAM-.  
>>-+---------+-------------------------------------------------><
   '-DYNAM---'  
 

Default is: NODYNAM

Abbreviations are: DYN|NODYN

The condition for the ON EXCEPTION phrase can occur for a CALL literal statement only if the DYNAM option is in effect.

Restriction: The DYNAM compiler option must not be used by programs that are translated by the separate or integrated CICS translator.

With NODYNAM, the target program name is resolved through the linker.

With the DYNAM option, this statement:

CALL “myprogram” . . .

has the identical behavior to these statements:

MOVE “myprogram” to id-1
CALL id-1 ...

related concepts
CALL identifier and CALL literal

related tasks
Creating DLLs


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)