# OPEN: MAXREC Specifier

The MAXREC specifier indicates the maximum number of records that can be transferred from or to a direct access file while the file is connected. It takes the following form:

MAXREC = mr

mr | Is a scalar numeric expression. If necessary, the value is converted to integer data type before use.

The default is an unlimited number of records.

Parent topic: OPEN Statement Specifiers