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

SUMMARY
   d_dbtaf(taf)
   char *taf;

ARGUMENTS
   taf       String containing path to and/or name of transaction activity
             file.

DESCRIPTION
   This function is used to specify the location and/or name of the system-
   database transaction activity file.If taf ends with the directory separator
   character (i.e. '\' on  DOS and '/' on UNIX),the default file names are
   appended to the specified path name to form the fully-qualified file name.
   The default file name is "vista.taf" and is assumed to be located in the
   working directory.If taf does not end with the directory separator
   character, db_VISTA will assume that the variable is the complete file
   name. This function must be called before the database is opened.


-----------------------------------------------------------------
NOTE
   There must be only one transaction activity file and it must be accessible
   to all db_VISTA users on the system.
-----------------------------------------------------------------
   The transaction activity file contains the names of the log files for
   transactions which are in the process of doing a commit and it is used to
   support automatic recovery in the eveent the lock manager goes down.


CURRENCY CHANGES
   None

RETURN CODES

   -1    S_DBOPEN      Datadase is open. Function called after d_open.



EXAMPLE
     ...
     /* TAF stored on server (device "S:")  */
     d_dbtaf ("S:\\LOGFILES\\");
     d_open("tims","s");
     ...

See Also: d_dbfpath d_dbdpath d_dblog d_dbuserid

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