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
16.20
Published
September 2019
Language
English (United States)
Last Update
2019-10-12
dita:mapPath
uny1527114222311.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

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 Teradata Database. The application is responsible for building the parcel as demanded by the protocol being used. This option is used by some defined protocols of the Teradata Database 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.