COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
=_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 ECOBEXT, which is assumed to be on the same subvolume as the compiler.
Starting a Compilation
This section applies to the Guardian environment. To compile an HP COBOL program in the OSS
environment, see Chapter 19: Using HP COBOL in the OSS Environment (page 711).
To run the ECOBOL compiler, use this compiler command:
Running the Compiler 529










