COBOL Manual for TNS and TNS/R Programs

Environment Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
6-55
FILE-CONTROL Paragraph
File-Control Entries for Sort-Merge Files
A file-control entry for a sort-merge file defines a scratch file for a sort-merge process.
SELECT clause
sd-name
is a COBOL file-name (the file-name in a sort-merge file description entry).
ASSIGN clause
associates the COBOL file-name (sd-name ) with a file designated by system-
file-name, or define-name-literal. Only the first system-file-name or
define-name-literal has meaning. The compiler ignores subsequent ones
and issues a warning.
system-file-name
is the name of a disk file that the file system recognizes. Quotation marks must
enclose system-file-name unless it is a COBOL word or begins with a
dollar sign ($), backward slash (\), or number sign (#). For more information
about operating system file names, see the Guardian Procedure Calls
Reference Manual.
define-name-literal
is a nonnumeric literal representing a DEFINE name of type MAP. Quotation
marks must enclose define-name-literal. For more information about
DEFINE names, see DEFINEs
.
SELECT clause
ASSIGN clause .
VST055.vsd
SELECT
sd-name
VST056.vsd
ASSIGN
TO
define-name-literal
system-file-name
VST039.vsd