logo  
Google
 

DB2 SQL-Error: -333

SQLState: 56010

Short Description: THE SUBTYPE OF A STRING VARIABLE IS NOT THE SAME AS THE SUBTYPE KNOWN AT BIND TIME AND THE DIFFERENCE CANNOT BE RESOLVED BY CHARACTER CONVERSION

The CCSID in the run time SQLDA is inconsistent with the bind time subtype of the host variable or parameter marker. Either the run time description is BIT and the bind time description was not BIT, or the run time description is not BIT and the bind time description was BIT. System action: The statement cannot be executed. Programmer response: Change the CCSID in the SQLDA so that the subtype of the host variable is consistent with the bind time subtype of the host variable or parameter marker. If the input data in error is a parameter marker, you can use the DESCRIBE INPUT SQL statement to determine the expected SQLTYPE, SQLLEN and CCSID expected. Refer to Chapter 2 of DB2 SQL Reference for more information on coded character set.

 <-  BACK TO INDEX