Description
Specifies the number of seconds the ODBC driver should wait for a login request to an ODBC data source.
Applies to
ODBC (if driver and back-end DBMS support this feature)
Syntax
LoginTimeOut=value
Default value
ODBC: LoginTimeOut=15
Usage
If you set LoginTimeOut to 0, PowerBuilder does not call the ODBC driver to set the LoginTimeOut value and instead waits the number of seconds specified by the ODBC driver's client software. If you set LoginTimeOut to a value greater than 0, PowerBuilder does call the ODBC driver to set the LoginTimeOut value.
Examples
To set the LoginTimeOut value to wait 60 seconds for a login request:
-
Database profile
Type 60 in the Login Timeout box on the Network page in the Database Profile Setup dialog box.
-
Application
Type the following in code:
SQLCA.DBParm="LoginTimeOut=60"