17.10 - Response 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)

Usage Notes

The types of parcels returned in a response that selects database fields are determined when the request is made. Applications can drive the type of response needed from the Teradata server by specifying any of the four values mentioned below in the Response Mode field of DBCAREA while initiating a request. The four response modes are as follows:
  • F - Field mode (returns database fields, except large objects, formatted as character data)
  • R - Record mode (returns non-null fields, except large objects, as unformatted data)
  • I - Indicator mode (returns all fields, except large objects, as unformatted data)
  • M - MultipartIndicator mode (returns all fields, including large objects, as unformatted data with additional character set detail.)

    For information on how and when to use this mode, see Large Objects (LOB) Support

Field, Record, and Indicator modes will return an error if large objects are involved.

Language Variable Name
COBOL: DBCAREA-RESP-MODE
C: DBCAREA.H: resp_mode
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (CON; RSUP; IRQ)
Used by Action Taken
application program writes