COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-41
Starting a Compilation
target-name
is the name of a disk file on which the single target object file is to be produced.
This name is used only if all of these are true:
•
The compiler is instructed to produce a target file. This means that the
SYNTAX directive is not specified.
•
The compilation and binding are successful.
•
The source file contains only one main program. If it contains more than one,
you must specify an object file for each of them (target-name-1 through
target-name-n ).
The default target-name is:
\default-system.$default-volume.default.subvolume.RUNUNIT
file-name-3
is a disk or nondisk file name. For syntax, see the Guardian Procedure Calls
Reference Manual.
define-name
is the name of a DEFINE established in the current run-time environment.
obj-1 ... obj-n
is a list of names of disk files on which the multiple target object files are to be
produced. Each has the same syntax as target-name. These restrictions apply:
•
You must specify at least as many object file names as there are main
programs delivered to the compiler. You can specify more, but not fewer. If you
specify more, unused ones are ignored.
•
The source-file must be an EDIT file.
•
The list-file cannot be a magnetic tape file. list-file is opened and
closed for each separately compiled program. If list-file is a spooler, one
job exists for the compiler command and one for each separately compiled
program in the source-file.
file-name-4
define-name
VST261.vsd
file-name-4
define-name
VST261.vsd