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 .-NOEXPORTALL-. >>-+-------------+--------------------------------------------->< '-EXPORTALL---'
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 load module or in other DLL load modules in the application, as well as from programs that are linked into the same 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 load module together with this COBOL program definition.
related references
Conflicting compiler options