IBM Support

DataStage ODBC Connector accessing SQL Server fails to read a datetime2[7] field.

Troubleshooting


Problem

ODBC Connector job fails with error "ODBC_Connector_0: Schema reconciliation detected a size mismatch for column CREATION_TIMESTAMP. When reading database column DATETIME(fraction=7) into column DATETIME(fraction=0), truncation, loss of precision, data corruption or padding can occur. (CC_DBSchemaRules::reportSizeMismatch, file CC_DBSchemaRules.cpp, line 1,768)".

Symptom

Job will abort due to this fatal error.

[{"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1;8.7;8.5;11.5;11.3","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 April 2025

UID

swg21959238