## 7.2.2 Direct Access READ Statements

Direct access READ statements transfer input data to internal storage from external records accessed under the direct mode of access. (The attributes of a direct access file are established by the OPEN statement.)

A direct access READ statement can be formatted or unformatted, and takes one of the following forms:

### Formatted

    READ (extu,rec,fmt [,iostat] [,err]) [iolist]

### Unformatted

    READ (extu,rec [,iostat] [,err]) [iolist]

extu
  Is an external unit specifier.
rec
  Is a record specifier.
fmt
  Is a format specifier.
iostat
  Is an I/O status specifier.
err
  Is a transfer-of-control specifier.
iolist
  Is the I/O-list specifier.

The control-list parameters are extu, rec, fmt, iostat, and err. The I/O list parameter is iolist.

For More Information:

- On control-list parameters, see Section 7.1.1.

- On the I/O list parameter, see Section 7.1.2.

- On rules for control-list parameters, see Section 7.1.1.1.

- On file sharing, see your user manual.

Previous Page Next Page Table of Contents