If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Fix Pack 11 has Arabic insertion problems?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-04-04, 09:47
UsmanAhmad UsmanAhmad is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
Unhappy DB2 Fix Pack 11 has Arabic insertion problems?

; Comment lines start with a semi-colon.
I had DB2 version 7.1 with fix pack 3 and it worked fine with Arabic. I inserted arabic with the following java code:

perparedStatement.setBytes(position,dataStirng.get Bytes(Encoding))
[where Encoding = "ISO-8859-1"]

Now I upgraded to Fix Pack 11 and I can't seem to insert arabic anymore no matter what encoding I try. I have tried UTF-8,UTF-16,UTF-16LE,ISO-8859-1,CP420,CP1256,even WINDOWS-1256.


What am I doing wrong, not doind or should have done?

Here's my DB2 CLI file.

---------------------------------DB2.CLI-------------------------

[tstcli1x]
uid=userid
pwd=password
AUTOCOMMIT=1
TableType="'TABLE','VIEW','SYSTEM TABLE'"

[tstcli2x]
; Assuming dbalias2 is a database in DB2 for MVS.
autocommit=1
SchemaList="'OWNER1','OWNER2',CURRENT SQLID"

[MyVeryLongDBALIASName]
dbalias=dbalias3
SysSchema=MYSCHEMA

[ZOSDB2]
PWD=hrsnaas
UID=aasprod
DBALIAS=ZOSDB2
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On