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
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Response Mode

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:

  • 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 Chapter 17: “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