17.10 - Maximum 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)

The maximum length (in bytes) needed for the request buffer can be calculated as follows:

maximum Request Buffer Length =
   
   (4 + the maximum length of a request string) +
   (4 + the maximum length of using data,
      including indicator bytes if User Presence
      Bits is set to ‘Y’) +
   (14 if Request Processing Option = P) +
   (6 for overhead)

The first and fourth lines are always included in the calculation. The second line is included only if data is being sent to the database. The third line is included only if Request Processing Option = P.