DB2 - Problem description
| Problem IT04461 | Status: Closed | 
| SQLCODE -10 IS RECEIVED WHEN USING SETDB2CLIENTXXX API TO SET A VALUE THAT CONTAINS A SINGLE QUOTE | |
| product: | |
| DB2 DATA SRVR D / DB2DSDRVR / A50 - DB2 | |
| Problem description: | |
| SQL Exception with SQLCODE=-10 occurs when an application uses one of the setDB2ClientXXX apis to set a client info field value containing a single quote. The error occurs only if the single quote happens to occur at the position where the driver truncates the client infor field value due length limitations. | |
| Problem Summary: | |
| **************************************************************** * USERS AFFECTED: * * All users of IBM Data Server Driver for JDBC and SQLJ * * shipped with DB2 10.5 releases earlier than DB2 10.5 Fixpack * * 4. * **************************************************************** * PROBLEM DESCRIPTION: * * See error description. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 10.5 Fixpack 4. * **************************************************************** | |
| Local Fix: | |
| Solution | |
| Upgrade to DB2 10.5 Fixpack 4. | |
| Workaround | |
| not known / see Local fix | |
| Timestamps | |
| Date - problem reported : Date - problem closed : Date - last modified : | 22.09.2014 09.06.2015 09.06.2015 | 
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.5.0.4 |  | 







 
