ARGUMENTS SET The set type for which thea read or exclusive lock is to be freed.
dbn (optional) The number of the database containing the record.
DESCRIPTION Function d_setfree frees the read or exclusively locked data files associates set type SET. This function can only be executed outside of a transaction.Inside transaction, lock are freed by functions d_trend or d_trabort. This function is present in the single-user version of db_VISTA, but performs no action. This allows multi-user applications to link with the single-user version for operation on stand-alone computers.
CURRENCY CHANGES None.
RETURN CODES
-2 S_INVSET Invalid set type. Probably passed a record or field type instead of a set type.
-24 S_NOTLOCKED Set type is not locked.
-29 S_TRFREE Attempt to free a read lock inside a transaction.