The ERASE statement deletes the current record of the run unit from the database. Additional records owned by the current record may also be deleted and/or disconnected. Format - ERASE [ ALL ] [ record-name ] [ ON ERROR stment ] [ NOT ON ERROR stment ] [ END-ERASE ]
1 – record-name
names a subschema record type.
2 – stment
is an imperative statement.