17.00 - -1007 Invalid IBM DATE format - 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

-1007 Invalid IBM DATE format

Possible Cause

The data type of an input host variable indicates an IBM style date, but the value is not in a valid IBM date format. This error occurs only if the SQLDA is constructed by the application. The precompiler will not generate code using this data type.

Possible Solution

If the application must use an IBM date data type for input, verify the value is in one of the following formats: USA - MM/DD/YYYY; ISO/JIS - YYYY-MM-DD; EUR - DD.MM.YYYY.