D_COSTAT

SUMMARY
d_costat(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 test the timestamp status of the current owner of SET since
it was last accessed by the program.The current owner record type must have
been specified as timestamped in the DDL schema file for the database.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 current owner record type is not timestamped.

0 S_OKAY The current owner has not been changed by another user
since it was last accessed.

6 S_DELETED The current owner has been deleted since it was last
accessed.

7 S_UPDATED The current owner was modified since last accessed.

EXAMPLE
if (d_costat(HAS_PUBLISHED)==S_OKAY){
d_csoread(HAS_PUBLISHED,INFO_TITLE,title);
...
}