|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
decimal separator in db2 |
« View previous topic :: View next topic » |
Author |
Message
|
m.schneider |
Posted: Tue Aug 07, 2007 1:05 am Post subject: decimal separator in db2 |
|
|
Centurion
Joined: 10 Apr 2007 Posts: 132 Location: Germany
|
Hello,
I'm facing the problem that my db2 uses a ',' as a decimal separator instead of a '.'. This causes the following error in the message broker:
( BK_TSTRADE1.EXEGRP1 ) Fehler bei der Konvertierung der Zeichenfolge ''0,050000'' in einen Dezimalwert. Status = ''-1'' ''S22018'' '0' ''
Es wurde versucht, eine Zeichenfolge in einen Dezimalwert zu konvertieren, die Zeichenfolge hatte jedoch das falsche Format. Die Zeichenfolge muss das Format [<Vorzeichen>]<Ziffern>[.<Ziffern>][[<Vorzeichen>]E<Ziffern>] haben. Hierbei kann für <Vorzeichen> '+' oder '-' angegeben werden, und die <Ziffern> können eine oder mehrere Dezimalziffern (0-9) sein. Die Groß-/Kleinschreibung für E spielt keine Rolle. Dieser Zeichenfolge kann können beliebig viele Leerzeichen voran- oder nachgestellt sein. Innerhalb des angegebenen Formats dürfen jedoch keine Leerzeichen stehen. Die maximale Genauigkeit besteht aus 24 Ziffern, und der höchste Exponent darf 999.999.999 sein.
Meaning there is a conversion problem. How can I configure DB2 to use englisch settings? I already tried setting the windows regional settings to us. I also tried setting the regional settings of my db during creation to us but DB2 still uses the wrong decimal separator.
Please provide help.
Thanks |
|
Back to top |
|
 |
Yaroslav |
Posted: Wed Oct 22, 2008 10:39 pm Post subject: |
|
|
Novice
Joined: 28 Sep 2006 Posts: 12 Location: Russia
|
Hello, m.schneider!
I think this answer is out of date for you, but it must be helpful for others.
I have the same problem in my environment:
OS - Windows 2003
WMB 6.1
IBM DB2 v8.1.15
The problem with decimal separator was solved by adding workaround in file db2cli.ini
[YOUDB]
PATCH2=15
DBALIAS=YOUDB _________________ IBM Certified Solution Designer WebSphere MQ V6.0
IBM Certified Solution Developer WebSphere Message Broker V6.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|