COBOL Manual for TNS/E Programs (H06.03+)
Program Compilation
HP COBOL Manual for TNS/E Programs—520347-003
11-39
CALL-SHARED
CALL-SHARED
CALL-SHARED
generates shared code (PIC).
NON-SHARED
has no effect. [For the NMCOBOL compiler, it generates nonshared code (non-
PIC)].
SHARED
generates shared code (PIC) for a DLL.
Default: CALL-SHARED
Placement: Anywhere
Scope: The last CALL-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:
•
SHARED
•
RUNNABLE
•
UL
CALL-SHARED
NON-SHARED
SHARED
VST802.vsd










