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
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

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