Direct access WRITE statements transfer output data from internal storage to 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 WRITE statement can be formatted or unformatted, and takes one of the following forms:
WRITE (extu,rec,fmt [,iostat] [,err]) [iolist]
WRITE (extu,rec [,iostat] [,err]) [iolist]
The control-list parameters are extu, rec, fmt, iostat, and err. The I/O list parameter is iolist.