Examples - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities

A return code of zero from DBCHCL for the Initiate Request function indicates that the client has sent the request toward the database.

If DBCHWAT is used, a return code of zero indicates that a portion of the response to some request has been received from the database; and a return code of zero from DBCHCL for the Fetch function indicates that the software has set a pointer to the next information in the response buffer. No one return code stands as a summary of all stages in the processing.

Similarly, a return code does not represent all repeats of a process. For example, a repeated call to DBCHCL for the Fetch function may generate many return codes of zero and later generate a non-zero return code if the application program continues to ask for the next parcel in the response after consuming the final parcel.