-302 Input host variable is too large for the table/view column - 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
Language
English (United States)
Last Update
2023-11-20
lifecycle
Latest
Product Category
Teradata Tools and Utilities

-302 Input host variable is too large for the table/view column

Possible Cause

The C character string being processed does not contain a null terminator within the length specified for the array. See Writing Embedded SQL Applications in C in the Teradata Preprocessor2 for Embedded SQL Programmer Guide, for details.

Possible Solution

Verify a null terminator is present in the character string within the specified length.