DLL

Use DLL to instruct the compiler to generate an object module that is enabled for dynamic link library (DLL) support. DLL enablement is required if the program will be part of a DLL, will reference DLLs, or if the program contains object-oriented COBOL syntax such as INVOKE statements or class definitions.

Note: The DLL option can be overridden for particular CALL statements by using the CALLINTERFACE directive.

DLL option syntax

Read syntax diagramSkip visual syntax diagramNODLLDLL

Default is: NODLL

Abbreviations are: None

Link-edit considerations: COBOL programs that are compiled with the DLL option must be link-edited with the RENT and AMODE 31 link-edit options.

NODLL instructs the compiler to generate an object module that is not enabled for DLL usage.

related tasks  
Making dynamic calls

related references  
Conflicting compiler options
CALLINTERFACE (Enterprise COBOL for z/OS® Language Reference)