COBOL Manual for TNS and TNS/R Programs
Compiler Directives
HP COBOL Manual for TNS and TNS/R Programs—522555-006
36-5
CALL-SHARED
CALL-SHARED
CANCEL and NOCANCEL
Note. The COBOL85 compiler does not recognize this directive.
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
Default: CANCEL
Placement: Anywhere
Scope: Applies to the program that contains it. CANCEL and NOCANCEL do
not apply to initial programs, which are initialized every time they are
called.
Dependencies: None
CALL-SHARED
NON-SHARED
SHARED
VST802.vsd
CANCEL
NOCANCEL
VST383.vsd