COBOL Manual for TNS and TNS/R Programs
Compiler Directives
HP COBOL Manual for TNS and TNS/R Programs—522555-006
36-38
SHARED
SHARED
SHOWCOPY and NOSHOWCOPY
Note. The COBOL85 compiler does not recognize this directive.
Default: NON-SHARED
Placement: Anywhere
Scope: The last SHARED, CALL-SHARED, or NON-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, NON-SHARED, or UL.
References:
•
CALL-SHARED
•
NON-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