# Record Specifier (REC=)

The record specifier identifies the number of the record for data transfer in a file connected for direct access. It takes the following form:

REC=r

r | Is a scalar numeric expression indicating the record number. The value of the expression must be greater than or equal to 1, and less than or equal to the maximum number of records allowed in the file.

If necessary, the value is converted to integer data type before use.

If REC is present, no END specifier, * format specifier, or namelist group name can appear in the same control list.

Parent topic: I/O Control List

## See Also

Alternative Syntax for a Record Specifier