>COBOL REWRITE Statement - COBOL/400 The COBOL REWRITE statement logically replaces an existing record in a direct-access file. When the COBOL REWRITE statement is executed, the associated direct-access file must be open in I-O mode. The COBOL REWRITE statement has two formats.

>COBOL REWRITE Statement - HP COBOL II/XL The COBOL REWRITE statement logically replaces an existing record in a sequential, relative, random, or indexed mass storage file. The file position indicator is unaffected by the execution of a COBOL REWRITE statement.

>COBOL REWRITE Statement - ILE COBOL The COBOL REWRITE statement logically replaces an existing record in a direct-access file. When the COBOL REWRITE statement is executed, the associated direct-access file must be open in I-O mode. The COBOL REWRITE statement has two formats.