Record Attributes
Length attribute (RFMT=Variable)
signed word integer (max=32767)
in the first two bytes of each record
stripped off by RMS before the record is returned to a program
Carriage Control
stored in the file header
not stored in the records
Notes:
Records in variable record length files (except Stream files) are preceded by a two-byte length attribute. It is stored as a signed word integer; therefore it has a maximum value of 32767. RMS strips off the length attribute before returning the data to your program.
Carriage Control attributes are stored in the file header and are common to all the records in the file. They are not stored in the records nor are they part of the records.