Previous Topic: @ERASE ExampleNext Topic: @ERASE (LRF) Syntax


@ERASE (LRF)—deletes logical record occurrences

The @ERASE statement can also be used to delete logical record occurrences. The @ERASE statement does not necessarily result in the deletion of all or any of the database records used to create the specified logical record; the path selected to service an @ERASE logical-record request performs whatever database access operations the DBA has specified to service the request.

LRF uses field values present in the variable-storage location reserved for the logical record to update the database. You can specify an alternative storage location from which LRF is to take field values to make the appropriate updates to the database.