Format 2

Format 2 specifies the number of bytes for either fixed-length or variable-length records.

Fixed-length records are obtained when all 01 record description entry lengths are the same. The format-2 RECORD CONTAINS clause is never required, because the minimum and maximum record lengths are determined from the record description entries.

Format 2

Read syntax diagramSkip visual syntax diagramRECORDCONTAINSinteger-4TOinteger-5CHARACTERS
integer-4 , integer-5
Must be unsigned integers. integer-4 specifies the size of the smallest data record, and integer-5 specifies the size of the largest data record.