COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

object-name
is a name that designates a TNS/E object file—either a file-system file name or (in the
Guardian environment) a DEFINE name. In the OSS environment, object-name must
be an OSS pathname. If the file-system file name is not fully qualified with system, volume,
and subvolume names, the compiler uses the current default system, volume, and subvolume
names or those specified by an =_OBJECT_SEARCH DEFINE (see =_OBJECT_SEARCH
(page 529)).
The linker links the entire file designated by object-name.
object-name must designate either a linkfile or an archive file.
When an archive file is searched, the entire archive file is generally not linked into the
target object file. Only those member files are linked that contain procedures named in
CALL or ENTER statements in the COBOL program being compiled. Whenever a procedure
is needed from a member file, the entire member file is linked.
If an HP COBOL program references the object in a CALL or ENTER statement, the object
must have been compiled with symbols.
NOSEARCHDefault:
AnywherePlacement:
Applies to the compilation unitScope:
NoneDependencies:
References:
RUNNABLE
CONSULT and NOCONSULT
If more than one SEARCH directive appears, the file names are appended to the list in the order
read.
SECTION
SECTION identifies a section of text to be copied from either a COPY library by a COPY statement
or from a source library by a SOURCE directive.
text-name
is a COBOL word (see COBOL Words (page 63)).
TANDEM
specifies that subsequent source text is in Tandem reference format, which is described in
Reference Format for Source Program Lines (page 44).
ANSI
specifies that subsequent source text is in ANSI reference format, which is described in
Chapter 16: ANSI Reference Format (page 702).
NoneDefault:
Must be on a directive line of its own. If it appears in the text of the compilation source
file (the IN file), it is ignored.
Placement:
566 Program Compilation