Forms for Sequential READ Statements

Sequential READ statements transfer input data from external sequential-access records. The statements can be formatted with format specifiers (which can use list-directed formatting) or namelist specifiers (for namelist formatting), or they can be unformatted.

A sequential READ statement takes one of the following forms:

Formatted:

READ (eunit, format [, advance] [, asynchronous] [, id] [, pos] [, size] [, iostat] [, err] [, end] [, eor]) [io-list]

READ form [, io-list]

Formatted - List-Directed:

READ (eunit, * [, asynchronous] [, id] [, pos] [, iostat] [, err] [, end]) [io-list]

READ * [, io-list]

Formatted - Namelist:

READ (eunit, nml-group [, iostat] [, err] [, end])

READ nml

Unformatted:

READ (eunit [, asynchronous] [, id] [, pos] [, iostat] [, err] [, end]) [io-list]

See Also