Unix Technical Forum

CLI0112E Error in assignment

This is a discussion on CLI0112E Error in assignment within the DB2 forums, part of the Database Server Software category; --> I was using a DB2 v7 database with my application. It was working fine. Now, I want to upgrade ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 03:47 AM
Wetienne
 
Posts: n/a
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 03:48 AM
Shyam Peri
 
Posts: n/a
Default Re: CLI0112E Error in assignment

Could you post the table description along with the statement you are
trying to use!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 03:49 AM
Wetienne
 
Posts: n/a
Default Re: CLI0112E Error in assignment

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 03:50 AM
Wetienne
 
Posts: n/a
Default Re: CLI0112E Error in assignment

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 03:51 AM
Wetienne
 
Posts: n/a
Default Re: CLI0112E Error in assignment

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com