COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-51
Categories of Compiler Directives
Table 11-16. Resolution and Binding Control Directives
Directive(s) Default Action
CONSULT and
NOCONSULT
2
NOCONSULT
1
Specifies a list of object files from which
the compilation can resolve unqualified
external references, but not bind in the
specified routines
LD
3
Passes one or more linker options to
the ld utility
LIBRARY
1
Specifies a user library file from which
the compilation can resolve unqualified
external references, but not bind in the
specified routines
NLD
Passes one or more linker options to
the nld utility
SEARCH and NOSEARCH
2
NOSEARCH
1
Specifies a list of object files from which
the compilation can resolve unqualified
external references and bind or link in
the specified routines
1. The NMCOBOL compiler ignores and issues a warning for this directive.
2.
The COBOL85 and NMCOBOL compilers handle the CONSULT and SEARCH directives differently.
3. The COBOL85 compiler does not accept this directive.
Table 11-17. Miscellaneous Control Directives (page 1 of 2)
Directive(s) Default Action
ENV
2
Selects the environment in which the
program runs
ERRORFILE
Specifies a file that is to contain information
about any compilation errors or warnings (it
can be used with the FIXERRS TACL
macro)
ERRORS
Specifies maximum number of errors
allowed
HEAP
3
Specifies heap space size in the CRE in the
Guardian environment
HIGHPIN
3
Sets the HIGHPIN flag in a D-series object
file, allowing it to run at a high PIN (a
process identification number greater than
255)
1. These directives are not available in the OSS environment.
2. The NMCOBOL compiler accepts this directive with the COMMON option (the default for this compiler), reports
an error for the OLD option, and issues a warning for the LIBRARY option.
3. The NMCOBOL compiler ignores and issues warnings for these directives.