appds_set_db_timeout
status.i4.v = appds_set_db_timeout(db_name.i1a.r, db_server.i1a.r,
timeout.i4.v, error_text.i1a.r)
This routine will set the timeout value for a APPDS database connection.
db_name name of the database where the APPDS table is found
(If a value of NULL is passed, the default value of
APPDS_DEFAULT_DB is used.)
db_server name of the database server
(If a value of NULL is passed, the default value of
APPDS_DEFAULT_SERVER is used.)
timeout timeout value for the database connection;
range [0,1....10000] seconds.
(If a value of 0 is passed, the default value of
APPDS_DEFAULT_TO is used.)
error_text a pointer to a buffer to where any error messages are
placed (Passing a value of NULL indicates that no
error text is wanted.)
This function returns ACNET status values as follows:
OK all data storage table cache released
SQL_xxx system error occurred
This function requires the following include files:
appds_h, clib_h, acnet_errors_h
Related functions:
appds_get_inter_mode, appds_set_inter_mode, appds_read_record
appds_write_record, appds_delete_record, appds_get_db_timeout