## 7.2.1 Sequential READ Statements

Sequential READ statements transfer input data to internal storage from external records that were sequentially accessed. They can be formatted, list-directed, namelist, or unformatted, taking one of the following forms:

### Formatted

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

    READ f [,iolist]

### List-Directed

    READ (extu, *[,iostat] [,err] [,end]) [iolist]

    READ *[,iolist]

### Namelist

    READ (extu,nml [,iostat] [,err] [,end])

    READ n

### Unformatted

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

extu
  Is an external unit specifier.
fmt
  Is a format specifier.
iostat
  Is an I/O status specifier.
err, end
  Are transfer-of-control specifiers.
iolist
  Is the I/O-list specifier.
f
  Is the nonkeyword form of a format specifier.
*
  Is a list-directed format specifier. This parameter can also be specified as FMT=*.
nml
  Is a namelist specifier.
n
  Is the nonkeyword form of a namelist specifier.

The control-list parameters are extu, fmt, iostat, err, end, f, * (or FMT=*), nml, and n. 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