17.10 - Server to Client Transfer - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)
To retrieve one or more rows containing LOB data using the inline method, a typical parcel mode CLI application should perform the following tasks:
  1. Set the response mode (resp_mode) to 'M' to indicate Multipart Indicator response mode. Any other setting will result in an error condition being returned.
  2. Set return_object to 'D' to indicate that data - rather than locators - should be returned.
  3. Issue the SQL request (including one or more SELECTs) using DBCHCL (DBFIRQ) as before.
  4. After the request completes, retrieve the requisite parcel sequence along with the answer set using DBCHCL (DBFFET).
  5. Issue DBCHCL (DBFERQ) to close the request.