Changing the Value for Two Response Buffers - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities
If the value provided is not appropriate for the application, perform the following steps before calling DBCHCL for the Connect, Run Startup, or Initiate Request function:
  1. Change Options to 'Y'.
  2. Set the Two Response Buffers value to the appropriate value:
    • Y, if the response is to be double-buffered.

    • N, if a single buffer is to be used for the response.

Double buffering is useful when large responses are expected from the database and large response buffers are used. Substantial improvements in response time can result by transferring the next buffer-full of response data from the database while the previous buffer-full is being accessed by the application program.

The response buffer or buffers are re-stocked automatically by DBCHCL. The application program may have to wait for data to arrive if the application program is consuming the data faster than the database can re-stock the buffer, but it does not have to arrange for data to arrive.

The connect request’s response is not double-buffered, even if Two Response Buffers is set to Y when DBCHCL is called for the Connect function. However, any other request’s responses on that session are double buffered, unless the setting of Two Response Buffers is changed before the request is submitted.

Although the value of Two Response Buffers is read and stored by the Connect function, it is not used for the connect operation itself.

Two Response buffers are ignored if the fetch request is for LOB or cursor repositioning responses.