Using the API in a Program

  1. The U@AUDITBEGIN opens the transaction state.
  2. The key field values for the record are moved to the D@ fields, then the E@DBDELETE routine reads the record and marks it for change.
  3. The E@DBDELETE routine deletes the record and its associated index entries.
  4. The U@AUDITEND routine commits the transaction and closes the transaction state.