17.00 - SPP4013 Warning, Statement beginning at line <line>:Host variable <name> is the wrong type to receive column <column> - Teradata Tools and Utilities

Teradata Preprocessor2 (SPP Prefix) Messages

prodname
Preprocessor2 for Embedded SQL
Teradata Tools and Utilities
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1096-PP2

SPP4013 Warning, Statement beginning at line <line>:Host variable <name> is the wrong type to receive column <column>

Language:

C, COBOL, PL/I

Possible Cause:

The host variable is an incompatible type which will cause an execution time error. Numeric data (with the exception of DATEs) may only be returned to numeric host variables. Character type data may only be returned to a character type host field.

Possible Solution:

Check the precompiler listing to see what the type of the receiving variable was as used by the precompiler. Change the host variable declaration to a legal receiving type.