### 7.3.1.4 Unformatted Sequential WRITE Statement

The unformatted sequential WRITE statement transfers specified binary data from internal storage to an external record accessed under the sequential mode of access. The data is not translated.

The unformatted sequential WRITE statement writes exactly one record. If there is no I/O list, the statement writes one null record.

Examples

In the first example, the WRITE statement writes a record to the file connected to logical unit 1 containing the values (in binary form) of elements 1 through 5 of the array LIST.

    WRITE (1)  (LIST(K), K=1,5)

In the second example, the WRITE statement writes one null record to the file connected to logical unit 4.

    WRITE (4)

Previous Page Next Page Table of Contents