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 following four values in the Response Mode field of DBCAREA while initiating a request:
- 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 |