Request Mode
Usage Notes
The Request Mode field specifies the form that a request and optional data are passed from the application program to CLI.
Language |
Variable Name |
COBOL: |
DBCAREA-REQUEST-MODE |
C: DBCAREA.H: |
request_mode |
Routine |
Action Taken |
DBCHINI: |
writes |
DBCHCL: |
reads (COM; RSUP:IRQ) |
Used by |
Action Taken |
application program |
writes |
Request Mode is initialized to the default value provided for Connect Type in the site’s SPB.
If the value provided is not appropriate for the application, before calling DBCHCL for the Initiate Request option the application program may set:
An application that uses Buffer Mode is responsible for setting the Keep Response option and Response Buffer Size options consistent with the Response parcel provided in the pre-built request buffer.
Note: The parcels included are just copied into the message and sent to the Teradata Database. The application is responsible for building the parcel as demanded by the protocol being used. This option is used by some defined protocols of the Teradata Database such as FastLoad, Hut, and MultiLoad. It is not recommended for use in Teradata SQL sessions.
Request Mode is read by the call to DBCHCL for the Connect and Run Startup options and stored in the appropriate control blocks, but it is not used during either function.