If the Teradata Database is processing a request submitted under the Resp processing option and sends a Response Message that contains the last parcel of the Teradata SQL response, the Teradata Database discards the Teradata SQL response and closes the Teradata SQL request.
If the Teradata Database is processing a request submitted under the KeepResp processing option and sends a Response Message that contains the last parcel of the Teradata SQL response, the Teradata Database keeps the Teradata SQL response and does not close the Teradata SQL request.
If a Teradata SQL response is being held by the Teradata Database (because the last parcel has not been sent or because the KeepResp option is in effect) and the application program no longer needs the Teradata SQL response, the application program can have the Teradata SQL response discarded and Teradata SQL request closed out. The next sections describe this process.