Specify record formats in a logical file in DDS

If there is more than one record format specified in a logical file, you must specify the PFILE keyword for each record format.

There are three ways to specify the fields in a record format:

The Simple and multiple format logical files in DDS topic illustrates the three ways to specify fields.

For each of the three ways to specify fields in a record format, you can have one of the following access path specifications:

The maximum number of fields in a record format is 8000. If any of the fields in the record format are date, time, timestamp, variable length, or allows the null value, then the actual maximum number of fields can be less than 8000. The maximum number of fields can vary depending on the number of fields and combinations of fields that occur within the record format. The maximum number of bytes in a record format is 32 766 if variable length fields are not included and 32 740 if variable length fields are included.

Related concepts
Define a logical file using DDS
Related reference
Length for physical and logical files (positions 30 through 34)