ARGUMENTS dbn (optional) The number of the database containing the record
DESCRIPTION Function d_disdel disconnects all members from the sets, owned by the current record and disconnects the current record from all sets of which it is a member. The current record is then deleted. Currency is preserved except where the current record is a current owner of member.
CURRENCY CHANGES
None.
RETURN CODES -7 S_NOCR The current record is null.
-24 S_NOTLOCKED Record or set type associated with current record is not locked.
-27 S_TRNOTACT Transaction not active. In shared mode, changes can only be made from within a transaction
EXAMPLE .. /* disconnect and delete abstract */ d_setom(ABSTRACT,HAS_PUBISHED); while (d_findfm(ABSTRACT)==S_OKAY) d_disdel();