7.4.1 Formatted REWRITE Statement

The formatted REWRITE statement performs the following operations:

Errors occur under the following conditions:

Example

In the following example, the REWRITE statement updates the current record contained in the relative organization file connected to logical unit 3 with the values represented by NAME, AGE, and BIRTH.

      REWRITE (3,10,ERR=99) NAME, AGE, BIRTH
10    FORMAT (A16,I2,A8)


Previous Page Next Page Table of Contents