SUMMARY d_stscm(SET,ts[,dbn]) int SET; ULONG ts; int dbn;
ARGUMENTS SET The set type for whose current member the last access timestamp is to be set.
ts A ULONG (unsigned long) variable to containing timestamp value.
dbn (Optional) The number of the database containing the record.
DESCRIPTION This function shoud be used with d_csmset restorew the current member of SET from the usigned long variable ts.
────────────────────────────────────────────────────────────────────────── Note: This function should be used with function d_csmset to restore the current member's database address and last access timestamp, for those record types whitch are timestamped. ──────────────────────────────────────────────────────────────────────────
CURRENCY CHANGES None
RETURN CODES -2 S_INVSET Invalid set type. Probably passed a record or field type instead of a set type.
-9 S_NOCM The current member is null.
-41 S_TIMESTAMP The current member record type is not timestamped.
EXAMPLE
/* print key words for (timestamped)info record */
DB_ADDR dba; ULONG ts ; .. /* save current member of key_to info set in case info record was retrieved from a key word scan */ d_csmset(KEY_TO_INFO,&dba); d_gtscm (KEY_TO_INFO,&ts); .. /* print key words thru info_to_key */ /* restore current member */ d_csmset(KEY_TO_INFO,&dba); d_stscm (KEY_TO_INFO,&ts); ..