17.10 - Length Field - 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 Length field contains the length in bytes of the entire parcel, which is the total length of the Flavor, Length, and Body fields.

When CLIv2 constructs parcels, it builds an appropriate parcel header, based on the DBCAREA Function and length of the relevant data. When CLIv2 returns the parcel body, it adjusts the length returned for the removal of the parcel header.