COBOL Manual for TNS/E Programs (H06.03+)
Compiler Directives
HP COBOL Manual for TNS/E Programs—520347-003
36-24
SHARED
SHARED
SHOWCOPY and NOSHOWCOPY
Default: CALL-SHARED
Placement: Anywhere
Scope: The last SHARED or CALL-SHARED in the compilation unit applies to
the entire compilation unit.
Dependencies:
•
If RUNNABLE is active, SHARED uses the linker to create a PIC
library file (DLL); otherwise, SHARED creates a PIC linkfile.
•
Do not use with CALL-SHARED or UL.
References:
•
CALL-SHARED
•
RUNNABLE
•
UL
Default: SHOWCOPY
Placement: Anywhere
Scope: Applies until its opposite overrides it
Dependencies: SHOWCOPY works only if LIST is active and SUPPRESS is not.
References:
•
LIST and NOLIST
•
SUPPRESS and NOSUPPRESS
CALL-SHARED
NON-SHARED
VST804.vsd
SHARED
SHOWCOPY
NOSHOWCOPY
VST310.vsd










