COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-112
SEARCH and NOSEARCH
SEARCH and NOSEARCH
SEARCH
adds the files that object-name-list specifies to the primary search list. (See
Primary Search List.)
NOSEARCH
clears the primary search list for the COBOL85 compiler, but is ignored by the
NMCOBOL compiler.
object-name-list
can be continued onto subsequent lines, but the left parenthesis must appear on
the same directive line as the keyword SEARCH. Each continuation line for a
SEARCH directive must have a question-mark (?) in the indicator area. If a
SEARCH directive spans multiple lines, they must be consecutive (no blank lines,
comment lines, or program text lines can intervene).
Note. The NMCOBOL compiler ignores the NOSEARCH directive and issues a warning.
SEARCH object-name-list
NOSEARCH
( )
object-name-list
VST305.vsd
object-name
,
object-name
VST306.vsd