Defining fixed-length records
To define VSAM records as fixed length, use one of these coding options.
About this task
RECORD clause |
Clause format | Record length | Comments |
---|---|---|---|
Code RECORD CONTAINS integer. |
1 | Fixed in size with a length of integer-3 bytes | The lengths of the level-01 record description entries associated with the file do not matter. |
Omit the RECORD clause,
but code all level-01 records that are
associated with the file as the same size; and code none with an OCCURS
DEPENDING ON clause. |
The fixed size that you coded |