dbsettime

Description

Set the number of seconds that DB-Library will wait for a server response to a SQL command.

Syntax

RETCODE dbsettime(seconds)
 
int           seconds;

Parameters

seconds

The timeout value—the number of seconds that DB-Library waits for a server response before timing out. A timeout value of 0 represents an infinite timeout period.

Returns

SUCCEED or FAIL.

Usage

See also

dberrhandle, DBGETTIME, dbsetlogintime, dbsqlexec, dbsqlok, dbsqlsend