Troubleshooting
Problem
DataDirect® Connect™ ODBC returning "Error Data type for parameter has changed since" with Enterprise Gateway Manager
Symptom
While using the IBM® Informix® Enterprise Gateway Manager™ with a DataDirect® Connect™ ODBC driver, you receive the following error when the application executes again a prepared statement with a different scale, precision, or sqltype:
ODBC Error ([0 S1000 IXor8:03.11.0000] Data type for parameter 1 has changed since ).
Cause
The DataDirect Connect ODBC driver WorkArounds configuration parameter is not set to 536870912 for the ODBC data source.
Resolving The Problem
Modify the data source and set the WorkArounds parameter to 536870912. This setting allows the application to re-execute a prepared statement with a different scale, precision, or sqltype
Operating System | How to change the ODBC Data Source Definition |
UNIX | 1. Edit the ODBC.INI file for the ODBC Data source. 2. Add the WorkArounds parameter and set it to 536870912.
|
Windows | 1. Use the registry editor to modify the ODBC Data source under section:
|
Note: The WorkArounds parameter will affect all connections connecting to the data source where this property is set.
Was this topic helpful?
Document Information
Modified date:
20 January 2022
UID
swg21142219