COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-37
Predefined SEARCH DEFINEs
=_SOURCE_SEARCH
=_SOURCE_SEARCH tells the compiler where to search for unqualified source text
files specified by:
COPY statements
SOURCE directives
The copy-library parameter of the compilation command
The =_SOURCE_SEARCH DEFINE does not affect compiler searches in these cases:
When the source text file name is qualified
When the program uses the default COPY library, COPYLIB, for COPY text
=_OBJECT_SEARCH
=_OBJECT_SEARCH tells the compiler where to search for unqualified object files
specified by:
SPECIAL-NAMES paragraph
CALL statements
ENTER statements
CONSULT directives
LIBRARY directives
SEARCH directives
The =_OBJECT_SEARCH DEFINE does not affect:
The compiler search when the object file name is qualified
The file COBOLEXT (for the COBOL85 compiler) or NMCOBEXT (for the
NMCOBOL compiler), which is assumed to be on the same subvolume as the
compiler