COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-55
CALL-SHARED
CALL-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 CALL-SHARED, NON-SHARED, or SHARED in the compilation
unit applies to the entire compilation unit.
Dependencies:
If RUNNABLE is active, CALL-SHARED uses the linker to create a
PIC executable object file; otherwise, CALL-SHARED creates a PIC
linkfile
.
Do not use with UL.
References:
NON-SHARED
SHARED
RUNNABLE
UL
CALL-SHARED
NON-SHARED
SHARED
VST802.vsd