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
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Request Buffer Length

Usage Notes

The Request Buffer Length field specifies the desired length of the buffer in which requests are placed for sending to the Teradata 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 Teradata server 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.

    Note: 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.