VMS Help
COBOL, DATA_DIVISION, clauses, RECORD, 2format VARYING
*Conan The Librarian
|
The RECORD clause specifies: (1) the number of character positions in
a fixed length record, (2) variable length record format, or (3) the
minimum and maximum number of character positions in a variable
length record.
Format 2 -
RECORD IS VARYING IN SIZE [FROM shortest-rec] [TO longest-rec]
CHARACTERS [DEPENDING ON depending-item]
is an integer that specifies the minimum number of character
positions in a variable-length record.
is an integer greater than shortest-rec. It specifies the maximum
number of character positions in a variable-length record or the
size of a fixed-length record.
is the identifier of an elementary unsigned integer data item in
the Working-Storage or Linkage Section. It specifies the number
of character positions for an output operation, and it contains
the number of character positions after a successful input
operation.