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_stscm http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
      D_STSCM

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);
    ..

See Also: d_csmget d_csmset d_gtscm d_gtsco d_gtscr d_stsco

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