17.10 - Request 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

Request Length field is the length in bytes of the request string.

Language Variable Name
COBOL: DBCAREA-REQ-LEN
C: DBCAREA.H: req_len
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (IRQ)
Used by Action Taken
application program writes
Before calling DBCHCL for the Initiate Request function and if Variable Length Request is set to:
  • N, the application program must set the value of Request Length to the length of the request string.
  • Y, the application program ignores Request Length and sets the value in the two-byte length field that precedes the request text.