Unix Technical Forum

Migration problem due to decimal separator keeping being COMMA instead of PERIOD

This is a discussion on Migration problem due to decimal separator keeping being COMMA instead of PERIOD within the DB2 forums, part of the Database Server Software category; --> Dear all, In a version 7 Workgroup Edition FP6 on Windows, a values decimal('7.5',9,2) is correctly displayed as '7.5'. ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 06:19 PM
Jean-Marc Blaise
 
Posts: n/a
Default Migration problem due to decimal separator keeping being COMMA instead of PERIOD

Dear all,

In a version 7 Workgroup Edition FP6 on Windows, a values decimal('7.5',9,2)
is correctly displayed as '7.5'. Applying FP10 or FP11 displays as '7,5' in
the output grid of command center.
Server settings are:
For W2K French, Regional settings=France, Decimal separators is '.'.
For DB, codepage 1252, country 33.

The pb is on version 8, I cannot get a '7.5' displayed in the command
center. Whatever I do, changing the regional settings to US_EN, setting
PATCH2=15 in the db2cli.ini, I cannot change the behavior.

This is a very important pb because my customer cannot migrate to version 8,
due to this phenomena that breaks its application.

Do you have any clue for this pb ?

Thanks for your help,

Jean-Marc



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 06:20 PM
Serge Rielau
 
Posts: n/a
Default Re: Migration problem due to decimal separator keeping being COMMAinstead of PERIOD

"Backstage" suggests that you should try Setting the DEFAULT locale in
Regional Settings in Windows.
Supposedly thre was a bug In CC in V7 which has been fixed. You may
have, unwittingly, exploited the defect.

Cheers
Serge


--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 06:20 PM
Jean-Marc Blaise
 
Posts: n/a
Default Re: Migration problem due to decimal separator keeping being COMMA instead of PERIOD

Hi Serge,

It seems to me that the command center output grid (CLI) does not pick the
regional settings as well as the cli PATCH2=15. I have tested with Excel or
QTOdbc, and the behavior is fine (V8.1 and Stinger). I've just made a post
for the command center on Stinger.

Thanks for your help,

JM

"Serge Rielau" <srielau@ca.eye-be-em.com> a écrit dans le message de
news:caa3oh$itc$1@hanover.torolab.ibm.com...
> "Backstage" suggests that you should try Setting the DEFAULT locale in
> Regional Settings in Windows.
> Supposedly thre was a bug In CC in V7 which has been fixed. You may
> have, unwittingly, exploited the defect.
>
> Cheers
> Serge
>
>
> --
> Serge Rielau
> DB2 SQL Compiler Development
> IBM Toronto Lab



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 09:27 PM.


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