COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-107
RUNNABLE
RUNNABLE
RUNNABLE causes the NMCOBOL compiler to use the linker to produce a loadfile if
there are no compilation errors.
If you run the NMCOBOL compiler without the directive RUNNABLE or SYNTAX and
no compilation errors occur, you can produce a loadfile by running the nld utility
separately (see the nld Manual). If you do so, you must specify that the COBOL85
shared run-time library (ZCOBSRL) and CRE shared run-time library (ZCRESRL)
reside on the subvolume $SYSTEM.SYSnn.
If you run the NMCOBOL compiler with the CALL-SHARED or SHARED directive, and
without the directive RUNNABLE or SYNTAX, and no compilation errors occur, you can
produce a loadfile by running the ld utility separately (see the ld Manual).
Note. The COBOL85 compiler does not recognize this directive.
Default: The NMCOBOL compiler does not use the linker to produce a loadfile if
there are no compilation errors.
Placement: Anywhere
Scope: Applies to the compilation unit
Dependencies: SYNTAX overrides RUNNABLE.
You must specify RUNNABLE to use RUNNAMED, SAVEABEND,
NOSAVEABEND, or SUBTYPE in the NMCOBOL compiler.
Without CALL-SHARED or SHARED, RUNNABLE uses the linker to
produce a non-PIC loadfile.
With CALL-SHARED, RUNNABLE uses the linker to produce a PIC
loadfile.
With SHARED, RUNNABLE uses the linker to produce a PIC library file
(DLL
).
References:
•
SYNTAX
•
RUNNAMED
•
SAVEABEND and NOSAVEABEND
•
SUBTYPE
•
CALL-SHARED
•
SHARED
RUNNABLE
VST729.vsd