COBOL Manual for TNS and TNS/R Programs
Program Execution
HP COBOL Manual for TNS and TNS/R Programs—522555-006
12-5
ASSIGN Command
This partial syntax diagram of the ASSIGN command describes features of greatest
interest to the COBOL programmer:
program-name
is the program-name in the PROGRAM-ID paragraph in the Identification
Division, for which the file assignment is to take effect. This is distinct from the
name of the loadfile. Do not specify program-name for an external file.
*
means that the file assignment applies to all programs in the loadfile. In the non-
CRE environment, you must specify * for an external file. In the CRE, you must not
specify * for an external file.
If neither program-name nor * is present, then cobol-file-name must be
unique among all programs in the loadfile.
cobol-file-name
is the COBOL file name in a SELECT clause, also called the fd-name.
system-file
ASSIGN
program-name
*
,
system-file
,
characteristic
.
cobol-file-name
VST334.vsd
name
#IN
#OUT
#TERM
#TEMP
$RECEIVE
VST335.vsd