Defines the timeout for the establishment of the connection.


   timeout INTEGER )
  1. timeout defines the number of seconds.


The setConnectionTimeOut() method sets the time value in seconds to wait for the establishment of the connection, before a break.

The value of -1 means infinite wait.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).