17.10 - Request Buffer Length - Call-Level Interface Version 2

Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

Usage Notes

The Request Buffer Length field specifies the desired length of the buffer in which requests are placed for sending to the database.

Language Variable Name
COBOL: DBCAREA-REQ-BUF-LEN
C: DBCAREA.H: req_buf_len
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (CON; RSUP; IRQ; REW; ABT)
Used by Action Taken
application program writes
A value of zero indicates that DBCHCL is to use the default value from the SPB for the Request Buffer Length. The application program may change the value in Request Buffer Length. The minimum value is 256 and the maximum value is:
  • 32768, if Maximum Parcel is set to O
  • 65536, if Maximum Parcel is set to H
  • 1048500, if Maximum Parcel is set to H and the database supports ExtendedRespond, as indicated by the DBCHQE QEPIXRS item.

The size of the request buffer is increased by CLI if a larger buffer is required.

If applications are using Parcel mode, the applications have to spare a buffer size of 24 bytes for CLI to place the parcels built by CLI in the request buffer.