12.5.25 RECORDTYPE Specifier

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

RECORDTYPE = rtype

rtype
Is a scalar default character variable that is assigned one of the following values:


'FIXED'   If the file is connected for fixed-length records 
'VARIABLE'   If the file is connected for variable-length records 
'SEGMENTED'   If the file is connected for unformatted sequential data transfer 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 with only a carriage return 
'STREAM_LF'   If the file's records are terminated with only a line feed 
'UNKNOWN'   If the processor cannot determine the record type 


Previous Page Next Page Table of Contents