◄Key► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Verb: REWRITE Function: Replaces an existing record in a file with an updated copy of the same record. Syntax: Which format? ◄Sequential► Relative & indexed ►►──REWRITE record-name─┬───────────────────┬─────► └─FROM identifier-1─┘ ►─┬──────────────────────────────────────┬────────► └─INVALID─┬───┬─imperative-statement-1─┘ └KEY┘ ►─┬──────────────────────────────────────────┬────► └─NOT INVALID─┬───┬─imperative-statement-2─┘ └KEY┘ ►─┬─────────────┬──►◄ └─END-REWRITE─┘ -♦-