COBOL Manual for TNS and TNS/R Programs

Environment Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
6-32
FILE-CONTROL Paragraph
rec-delim
must be IMPLICIT, the only name predefined by HP COBOL for use in this
clause. IMPLICIT signifies that the record delimiter is implied by the size of the
records on the magnetic tape.
ACCESS MODE clause
makes the access mode of the file sequential (the default).
ALTERNATE RECORD KEY clause
makes alt-key an alternate record key.
alt-key
is an alphanumeric or unsigned numeric data item declared in the record
description entry of the file and is used to gain access to records within the file.
The size and location of alt-key must agree with the size and location of the
alternate key within the file, as defined when the alternate key file was
established by the Guardian environment File Utility Program (FUP). (For
information about FUP, see the File Utility Program (FUP) Reference Manual.)
DUPLICATES
means that alternate key values are not necessarily unique.
ACCESS
IS
SEQUENTIAL
MODE
VST044.vsd
RECORD
KEY
IS
alt-key
WITH
DUPLICATES
ALTERNATE
VST045.vsd