Response Mode
Response Mode is a one byte field that specifies the mode in which data is to be packaged by the Teradata Database for return to the client.
When MultipartIndicator Response‑mode is selected, the Continued‑characters‑state option is also be relevant.
In this language... |
The variable name for Response Mode is... |
COBOL |
DBCAREA‑RESP‑MODE |
PL/I |
RESP_MODE |
C |
resp_mode |
IBM Assembler |
DBORMOD |
This routine... |
Does this for Response Mode... |
DBCHINI |
writes |
DBCHCL |
reads (CON; RSPF; IWPF; IRQ) |
Response Mode is used by... |
To... |
applications |
write |
Response Mode is initialized by DBCHINI to the default value provided for Response Mode in the HSHSPB.
When the value for Response Mode is not appropriate for the application, you should perform the following procedure before calling DBCHCL for any of the following functions:
When the value for Response Mode is not appropriate for the application, you should perform the following procedure before calling DBCHCL for Connect, RunStartUp, Initiate with Protocol‑Function, or Initiate Request:
1 Set Change Options to ‘Y‘.
2 Change the value for Response Mode as follows.
Note: Unless a new application must support old versions of the Teradata Database, which would reject its use, Response‑mode should always be set to ‘M‘. The CLIv2 Query routine QEPILOB (or QEPIASL) can be used to ascertain if the server supports this enhancement.
If the response is to be packaged in this mode... |
Then change the value for Response Mode to... |
Field |
F |
Record |
R |
MultipartIndicator |
M |
Indicator |
I |
Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.