Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_csstat http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_CSSTAT

SUMMARY
   d_csstat(SET [,dbn])
   int SET;
   int dbn;

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 */
       ....
    }

See Also: d_cmstat d_crstat d_recstat

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson