## 9.5.19 RECORDTYPE Specifier

The RECORDTYPE specifier asks which type of records are in a file. It takes the following form:

    RECORDTYPE = rtype

rtype
  Is a character scalar memory reference that is assigned one of the following values:

  - 'FIXED': If the file is open for fixed-length records

  - 'VARIABLE': If the file has variable-length records

  - 'SEGMENTED': If the file is open for unformatted sequential I/O using segmented records

  - 'STREAM': If the file's records are terminated with a carriage-return and line-feed

  - 'STREAM_CR': If the file's records are terminated only with a carriage-return

  - 'STREAM_LF': If the file's records are terminated only with line-feed

  - 'UNKNOWN': If the processor cannot determine the record type

Previous Page Next Page Table of Contents