SUMMARY d_gtscs(SET,ts[,dbn]) int SET; ULONG *ts; int dbn;
ARGUMENTS SET The set type for which the last access timestamp is to be returned.
ts Pointer to a ULONG (unsigned long) variable to contain timestamp value.
dbn (Optional) The number of the database containing the record.
DESCRIPTION This function copies the last access timestamp for SET into the unsigned long variable pointer to by ts.
CURRENCY CHANGES None
RETURN CODES -2 S_INVSET Invalid set type. Probably passed a record or field type instead of a set type.
-8 S_NOCO The current owner is null.
-41 S_TIMESTAMP The set type is not timestamped.
EXAMPLE
DB_ADDR dba; ULONG sts,ots;
/* save current (timestamped) author and set on stack for later processing */ d_csoget(HAS_PUBLISHED,&dba); d_gtsco (HAS_PUBLISHED,&ots); d_gtscs (HAS_PUBLISHED,&sts); .. /* restore saved author as owner of has_published */ d_csoset(HAS_PUBLISHED,&dba); d_stsco (HAS_PUBLISHED,ots); d_stscs (HAS_PUBLISHED,sts); ..