473,396 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

CLI0112E Error in assignment

I was using a DB2 v7 database with my application. It was working fine.

Now, I want to upgrade to DB2 v8.
With the same table description, and exactly the same statement from my
application, I receive a message "CLI0112E Error in assignment.
SQLSTATE=22005"

Have you an idea in which way should I search ?
(databases settings regarding language, country, code page... are the same,
and the OS too)

EM
Nov 12 '05 #1
4 21793
Could you post the table description along with the statement you are
trying to use!

Nov 12 '05 #2
Le 19 May 2005 01:04:53 -0700, Shyam Peri a écrit :
Could you post the table description along with the statement you are
trying to use!


CREATE TABLE WETIENNE.VEFIL050 (TVA_Catégorie_de_TVA SMALLINT NOT
NULL,TVA_TAUX_de_TVA FLOAT NOT NULL,TVA_NOM_de_TVA CHAR(70) NOT
NULL,TVA_code_tte_langue INTEGER NOT NULL)

CREATE UNIQUE INDEX WETIENNE.Categorie ON WETIENNE.VEFIL050
(TVA_Catégorie_de_TVA ASC)
INSERT INTO
VEFIL050(TVA_Catégorie_de_TVA,TVA_TAUX_de_TVA,TVA_ NOM_de_TVA,TVA_code_tte_langue)VALUES(?,?,?,?)
with Value :
1,12.12,'Test',1

But when I check the trace log I have from my tool, I got 12,12 instead of
12.12.
I assume that the problem comes from that, but with DB2 v7, with exactly
the same statement (create and insert) it works fine.

In fact, it's as if my v8 database doesn't recognize the ',' characters.

've tried to install DB2 in english (US) instead of french (FR) but the
problem is the same. OS is in french.

thanks,
EM
Nov 12 '05 #3
Le Wed, 18 May 2005 14:15:21 +0200, Wetienne a écrit :
I was using a DB2 v7 database with my application. It was working fine.

Now, I want to upgrade to DB2 v8.
With the same table description, and exactly the same statement from my
application, I receive a message "CLI0112E Error in assignment.
SQLSTATE=22005"

Have you an idea in which way should I search ?
(databases settings regarding language, country, code page... are the same,
and the OS too)

EM


Hi,

In fact my problem could be due to a problem described in APAR #IY66088
(http://www-1.ibm.com/support/docview...id=swg1IY66088)
I haven't any access to this locked database. Can someone help me ?

Thanks,
EM

Nov 12 '05 #4
Le Wed, 25 May 2005 15:07:34 +0200, Wetienne a écrit :
Le Wed, 18 May 2005 14:15:21 +0200, Wetienne a écrit :
I was using a DB2 v7 database with my application. It was working fine.

Now, I want to upgrade to DB2 v8.
With the same table description, and exactly the same statement from my
application, I receive a message "CLI0112E Error in assignment.
SQLSTATE=22005"

Have you an idea in which way should I search ?
(databases settings regarding language, country, code page... are the same,
and the OS too)

EM


Hi,

In fact my problem could be due to a problem described in APAR #IY66088
(http://www-1.ibm.com/support/docview...id=swg1IY66088)
I haven't any access to this locked database. Can someone help me ?

Thanks,
EM


I got it !
Now I know what this kind of APAR is locked :
no solution, no fix !!!!!
except a "Local fix : Use a period as the decimal separator (not a comma)
for the values being inserted."
That's mean change your local settings !!!! the other solution is to change
our database...

EM
Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vince | last post by:
Hi, I have this error, and I can't find the meaning ... CLI0112E Erreur d'affectation. SQLSTATE=22005 Can someone help me please? Vince
4
by: mghale | last post by:
My client's application is generating an exception of CLI0112 and SQLSTATE 22005 when accessing a BLOB column. The condition resolves itself when I recycle DB2, access if fine for a while, and...
5
by: yinglcs | last post by:
Hi, I have a method like this: const A* getMaxArea(const vector<A*>& aList); And in my caller, i have this: A* const a = NULL;
1
by: Raghuram N K | last post by:
Hi, Following program compiles and executes successfully in windows with DevCPP compiler. When I compile the same in Linux with 'g++323' compiler I get following assignment error: cannot...
3
by: subramanian100in | last post by:
Consider the following program: #include <iostream> using namespace std; class Base { public: Base(int x = 0);
1
by: dewi | last post by:
Dear All, I am trying to compile a C code using Visual C++. Can anyone explain how to solve it? Thank You. #include <math.h> #include <string.h> #include "RV2AJFRONT_NEW.h" #include...
16
by: aburry | last post by:
/* test.c */ #include <stdlib.h> void f() { struct X { const int x; }; struct X* myx = malloc(sizeof(struct X)); myx->x = 42; } /* end of test.c */
5
by: mangoxoxo | last post by:
Hey I'm not sure if this is where I should be asking this but I'm going to ask anyway. I'm doing an assignment for my Intro to Comp Programming class. This is the assignment: Define a class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.