The WRITE statement transfers output data from internal storage to user-specified external logical units (such as disks, printers, terminals, OpenVMS mailboxes, and Tru64 UNIX pipes) or to internal files.
Compaq Fortran 77 provides the following types of WRITE statements:
On OpenVMS systems, WRITE statements cannot write to existing records in an indexed file. For information on a statement that can perform this function, see the REWRITE statement in Section 7.4.