Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC66253 Status: Closed

IFXBULKCOPY RETURNS "CLI0112E ERROR IN ASSIGNMENT" FOR COLUMNS
DEFINED AS FIXED POINT DECIMAL(P,S)

product:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problem description:
When tables used in IfxBulkCopy contain a column defined as 
DECIMAL(p,s) 
the driver might return 
 
ERROR [22005] [IBM] CLI0112E  Error in assignment. 
SQLSTATE=22005 
   at IBM.Data.Informix.IfxBulkCopy.WriteToServer() 
   at IBM.Data.Informix.IfxBulkCopy.WriteToServer(IDataReader 
dataReader) 
   at ConsoleApplication1.Program.Main(String[] args)
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users using 'BulkCopy' for table with 'Decimal' data for     * 
* locales where the decimal point symbol is NOT dot (Eg: in    * 
* de-de the decimal point symbol is COMMA)                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* For the above case it throws an error. This happens only for * 
* the specific case of 'Decimal' data type for client locales  * 
* such a de-de where the decimal point symbol is COMMA.        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Please upgrade to db2v97fp2 or later for the fix             * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
The root cause is that the decimal point symbol in de-de is 
COMMA(,). This is now fixed to ensure that such an error is not 
thrown during a BulkCopy operation
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC66438 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.02.2010
14.05.2010
14.05.2010
Problem solved at the following versions (IBM BugInfos)
9.7.FP2
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.2 FixList