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

Maximum Length

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.