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

Environment Division
HP COBOL Manual for TNS/E Programs520347-003
6-29
FILE-CONTROL Paragraph
RECORD DELIMITER clause
specifies the method of determining the length of a variable-length record on the
file’s external medium. HP COBOL handles this clause as a comment, except that
these requirements are checked:
°
This clause can appear only for a file whose description specifies variable-
length records.
°
STANDARD-1 applies only to magnetic tape files that contain standard label
records.
°
rec-delim must be IMPLICIT (see rec-delim, following).
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.
RECORD DELIMITER
IS
STANDARD-1
rec-delim
VST043.vsd
ACCESS
IS
SEQUENTIAL
MODE
VST044.vsd
RECORD
KEY
IS
alt-key
WITH
DUPLICATES
ALTERNATE
VST045.vsd