The RECORDTYPE specifier asks which type of records are in a file. It takes the following form:
| '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 not terminated |
| 'STREAM_CR' | If the file's records are terminated with a carriage return |
| 'STREAM_LF' | If the file's records are terminated with a line feed |
| 'UNKNOWN' | If the file is not connected |