The WRITE statement is a data transfer output statement. Data can be output to external sequential or direct-access records, or to internal records. For more information, see WRITE.