COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-101
NON-SHARED
NON-SHARED
CALL-SHARED
generates shared code (PIC).
NON-SHARED
generates nonshared code (non-PIC).
SHARED
generates shared code (PIC) for a DLL.
Note. The COBOL85 compiler does not recognize this directive.
Note. You cannot link PIC and non-PIC object files into a single object file.
Default: NON-SHARED
Placement: Anywhere
Scope: The last NON-SHARED, CALL-SHARED, or SHARED in the compilation
unit applies to the entire compilation unit.
Dependencies: If RUNNABLE is active, NON-SHARED creates a non-PIC executable
object file; otherwise, NON-SHARED creates a non-PIC nonexecutable
object file.
References:
CALL-SHARED
SHARED
RUNNABLE
CALL-SHARED
NON-SHARED
SHARED
VST803.vsd