COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-119
SOURCE
SOURCE
SOURCE causes the compiler to begin accepting source text from a different EDIT file.
The compiler can read either the entire file or one or more sections of the file
(demarcated by SECTION directives). You can also use the predefined SEARCH
DEFINEs to specify one or more subvolumes to be searched for unqualified files (see
Predefined SEARCH DEFINEs).
edit-file-name
is a file-system file name that identifies an accessible EDIT file. If any of the
system, volume, or subvolume components are omitted, the compiler supplies the
missing ones from its process defaults. edit-file-name can be the name of a
DEFINE of the class MAP.
section-name-list
section-name-list can be continued onto subsequent lines, provided that the
edit-file-name and the left parenthesis appear on the same directive line as
the keyword SOURCE. Each continuation line for a SOURCE directive must have
a question-mark (?) in the indicator area. If a SOURCE directive spans multiple
lines, they must be consecutive (no blank lines, comment lines, or program text
lines can intervene).
The default for section-name-list is the entire file.
section-name
is the name of a section in an EDIT file (a text-name in the directive
SECTION).
Default: None
Placement: Must be the last directive on its line.
Dependencies: None
SOURCE edit-file-name
( )
section-name-list
VST312.vsd
,
section-name
section-name
VST313.vsd