EXPORTALL

Use EXPORTALL to instruct the compiler to automatically export the PROGRAM-ID name and each alternate entry-point name from each program definition when the object deck is link-edited to form a DLL.

EXPORTALL option syntax

Read syntax diagramSkip visual syntax diagramNOEXPORTALLEXPORTALL

Default is: NOEXPORTALL

Abbreviations are: EXP | NOEXP

With these symbols exported from the DLL, the exported program and entry-point names can be called from programs in the root program object, in other DLL program objects in the application, and from programs that are linked into that DLL.

Specification of the EXPORTALL option requires that the RENT linker option also be used.

NOEXPORTALL instructs the compiler to not export any symbols. In this case the programs are accessible only from other routines that are link-edited into the same program object as the COBOL program definition.

related references  
Conflicting compiler options