COBOL Manual for TNS/E Programs (H06.03+)

Environment Division
HP COBOL Manual for TNS/E Programs520347-003
6-27
FILE-CONTROL Paragraph
ASSIGN clause
associates file-name with system-file-name or define-name-literal.
Only the first system-file-name or define-name-literal has meaning.
The compiler ignores subsequent names and literals and issues a warning.
system-file-name
is the name of a file that the file system recognizes or one of the special
operating system file names described in System-Names. If system-file-
name does not begin with a dollar sign ($), backward slash (\), or number sign
(#), then it must be enclosed in quotation marks unless it forms a COBOL
word. For more information about operating system file names, see the
Guardian Procedure Calls Reference Manual.
define-name-literal
is allowed only in the Guardian environment. It is a nonnumeric literal
representing a DEFINE name of class MAP, SPOOL, TAPE, or
TAPECATALOG. Quotation marks must enclose define-name-literal. For
more information about DEFINE names, see DEFINEs.
RESERVE clause
enables or prevents sequential block buffering on input and buffered cache on
output, or enables or prevents HP COBOL Fast I-O for both input and output, for a
disk file, depending on the value of number.
number
is a numeric literal, an unsigned integer.
ASSIGN
TO
define-name-literal
system-file-name
VST039.vsd
RESERVE
AREAS
AREA
number
VST040.vsd