Request 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.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

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:

  • Change Options to Y, and
  • Request Mode to:
  • P, if the application program is passing to CLI the Request parcel body and, optionally, the Using Data parcel body and, optionally, parcel elements in the DBCAREA extension, DBCAREAX.
  • B, if the application program is passing to CLI a pre-built buffer containing parcels.
  • 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.