17.10 - Changing the Value for Request Mode - 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)
If the value provided is not appropriate for the application, perform the following steps before calling DBCHCL for the Initiate Request function:
  1. Change Options to Y.
  2. Change the Request Mode value to:
    • P, if the application program is passing to CLI the Request parcel body and, optionally, the Using Data parcel body and, optionally, parcel elements in the DBCAREA extension, DBCAREAX.

    • B, if the application program is passing to CLI a pre-built buffer containing parcels.

An application that uses Buffer Mode is responsible for setting the Keep Response option and Response Buffer Size options consistent with the Response parcel provided in the pre-built request buffer.

The parcels included are just copied into the message and sent to the database. The application is responsible for building the parcel as demanded by the protocol being used. This option is used by some defined protocols such as FastLoad, HUT, and MultiLoad. It is not recommended for use in Teradata SQL sessions.

Request Mode is read by the call to DBCHCL for the Connect and Run Startup options and stored in the appropriate control blocks, but it is not used during either function.