Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

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.

A record specifier must not appear in a child I/O statement.