ddelete - delete current record
rno_t ddelete (fcb)
Ddelete logically deletes the current record from an opened RMSfile. Once a record has been deleted, none of the find functions will be able to locate the record.
If the RMSfile contains secondary keys, the index key values are removed at the time of the call to ddelete.
Fcb is the file block pointer returned by dlopen(C-3) or dopen(C-3).
RMS Programming Guide
Ddelete returns a value of BAD (-1) if a current record has not been defined at the time of the call to ddelete or if an I/O error occurred.