-1009 Varying field length exceeds max length declared - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 (SPP Prefix) Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Preprocessor2 for Embedded SQL
Release Number
15.xx, 16.xx, 17.xx, 20.xx
Published
June 2020
ft:locale
en-US
ft:lastEdition
2023-11-20
lifecycle
Latest
Product Category
Teradata Tools and Utilities

-1009 Varying field length exceeds max length declared

Possible Cause

The two-byte length preceding the input data value exceeds the declared maximum size of the variable, or is not positive.

Possible Solution

Ensure the size of the variable is declared correctly and verify that the length of the data is properly set.