ARGUMENTS SET Set whose current member's status is checked. dbn (optional)The number of the database containing the record
DESCRIPTION This function tests the status of the current SET by comparing the last access time for the set with the update timestamp stored in the set pointer of the current owner of SET. The set type must have been specified as time stamped in the DDL schema file for the datadase. The timestamp status is returned as defined below.
CURRENCY CHANGES None
RETURN CODES -2 S_INVSET Invalid set type.Probably passed a record type instead of a SET type.
-41 S_TIMESTAMP The set type is not timestamped.
0 S_OKAY The current member has not been changed by another user since it was last accessed.
6 S_DELETED The set occurence has been deleted since it was last accessed.
7 S_UPDATED The set occurence was modified since last accessed.
EXAMPLE if (d_csstat(AUTHOR_LIST)==S_OKAY){ /* continue set scan */ .... }