Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


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.

Read syntax diagramSkip visual syntax diagram
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


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)