Defines the timeout for a reading or writing operation.


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


The setTimeOut() method defines a delay in seconds, to wait for an HTTP request read or write operation. If the operation is not terminated after the timeout, it returns immediately with an error.

Use the value of -1 to define an infinite timeout.

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).