The REWRITE statement is a data transfer output statement that rewrites the current record.
A REWRITE statement can be formatted or unformatted. For more information, see REWRITE in the A to Z Reference.