COBOL Manual for TNS/E Programs (H06.03+)
Program Compilation
HP COBOL Manual for TNS/E Programs—520347-003
11-35
Categories of Compiler Directives
TRAP2-74 and NOTRAP2-74
1
TRAP2-74 Ignored (warning issued)
UL
Specifies that the resulting object
code will be in a user library
Table 11-11. Resolution and Binding Control Directives
Directive(s) Default Action
CONSULT and NOCONSULT
NOCONSULT
1
Specifies a list of object files from which
the compilation can resolve unqualified
external references, but not bind in the
specified routines
ELD
Passes one or more linker options to
the eld utility
LD
1
Ignored (warning issued)
LIBRARY
1
Ignored (warning issued)
NLD
1
Ignored (warning issued)
SEARCH and NOSEARCH
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 compiler ignores and issues a warning for this directive.
Table 11-12. Miscellaneous Control Directives (page 1 of 2)
Directive(s) Default Action
ENV
1
Useless, but accepted with COMMON
option; error reported for OLD option;
warning issued for LIBRARY option
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
1
Ignored (warning issued)
HIGHPIN
1
Ignored (warning issued)
1. These directives are not available in the OSS environment.
2. The 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. Thecompiler ignores and issues warnings for these directives.
Table 11-10. Code-Generation Control Directives (page 3 of 3)
Directive(s) Default Action










