10.5.18 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 is open for variable-length records.

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

  • 'STREAM': If the file's records are not terminated.

  • 'STREAM_LF': If the file's records are terminated with a line-feed.

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

  • 'UNKNOWN': If the file is not open.


Previous Page Next Page Table of Contents