com.TCPRequest.getResponse
Returns the response after performing a TCP request.
Syntax
getResponse()
RETURNS com.TCPResponse
Usage
The getResponse()
method returns a TCP response as a com.TCPResponse
object, after a call to
doRequest()
, doXmlRequest()
, doTextRequest()
, or beginXmlRequest() /
endXmlRequest()
calls.
A call to this method will stop the program flow until the response is received.
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).
The INT_FLAG variable is checked during GWS API call to handle program interruptions, for more details, see Interruption handling in GWS calls (INT_FLAG)