ts A ULONG (unsigned long) variable containing the timestamp value.
dbn (Optional) The number of the database containing the record.
DESCRIPTION Function d_stscr assigns the last access timestamp for the current record from the usigned long variable ts.
────────────────────────────────────────────────────────────────────────── Note: This function should be used with function d_crset to restore the current record's database address and last access timestamp, for those record types whitch are timestamped. ──────────────────────────────────────────────────────────────────────────
CURRENCY CHANGES None
RETURN CODES
-7 S_NOCR The current record is null.
-41 S_TIMESTAMP The current record type is not timestamped.
EXAMPLE
DB_ADDR save_dba; ULONG ts ; .. /* save current record for later retrievial */ d_crset(&save_dba); d_gtscr (&ts); .. /* later, retrieve saved record */ d_crset(&save_dba); d_stscr(ts); if (d_crstat() ==S_OKAY) d_recread(&irec);