Specifies the number of seconds the JDBC or ODBC driver should wait for a login request to a JDBC database or an ODBC data source.
JDB JDBC
ODBC (if driver and back-end DBMS support this feature)
LoginTimeOut=value
Parameter |
Description |
---|---|
value |
The number of seconds you want the driver to wait for a login request |
ODBC: LoginTimeOut=15; JDBC: LoginTimeOut=0
If you set LoginTimeOut to 0, PowerBuilder does not call the JDBC or ODBC driver to set the LoginTimeOut value and instead waits the number of seconds specified by the JDBC or ODBC driver's client software. If you set LoginTimeOut to a value greater than 0, PowerBuilder does call the JDBC or ODBC driver to set the LoginTimeOut value.
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"