Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Language Reference


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.

Read syntax diagramSkip visual syntax diagram
Format 2

>>-RECORD--+----------+--integer-4--TO--integer-5--------------->
           '-CONTAINS-'                             

>--+------------+----------------------------------------------><
   '-CHARACTERS-'   

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.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)