Aborting a Request: Example - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Aborting a Request: Example

Assume a session has been created and a request started as in the single buffering, no rewind example given above. If the application wants to abort the request, the following must be performed.

The application sets the function code to abort (DBFABT) in the DBCAREA and calls DBCHCL.

Note: This implies that if the end‑user may need to abort a request, the application must submit the prior‑pending request with the Wait For Response option set to no, so that the application can get control before the start response is returned from the Teradata Database.