17.10 - Wait For Response - 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 Wait For Response field specifies whether or not DBCHCL is to retain control or return control to the application program in two situations:

  1. When the application program has called DBCHCL for some function and DBCHCL cannot send a request to the database to carry out that function because another request in the same session is active. DBCHCL cannot initiate that function.
  2. When the application program has called DBCHCL for the Fetch function and DBCHCL cannot provide access to a parcel or buffer, depending on the setting of Parcel Mode Fetch, because the re-stocking of the buffer is in progress. DBCHCL cannot complete the Fetch function.
Language Variable Name
COBOL: DBCAREA-WAIT-FOR-RESP
C: DBCAREA.H: wait_for_resp
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (CON; RSUP: IRQ; FET; REW; ERQ; ABT)
Used by Action Taken
application program writes

Wait For Response is initialized by DBCHINI to the default value.