473,396 Members | 2,158 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.

IBM OLE DB Provider for DB2 Codepage error.

We use the IBM OLE DB Provider for DB2 to connect to a database on AIX
5.2 from SQL Server Integration Service. But there is some codepage
problems. On AIX we use ISO-8859-1, when use DB2 CLP, we should first
set DB2CODEPAGE property to 819(using db2set DB2CODEPAGE=819). Our OLE
DB Connectionstring is as follows:
"Data Source=MIGDB;User ID=fmadmin;Provider=IBMDADB2.1;Persist Security
Info=True;Location=;Extended Properties="

We guess some magic properties should be added to the extended
properties section, but don't know which one ,we have tried
DB2CODEPAGE/IBM CCSID, neither works.

Jan 26 '07 #1
7 6711
Are there any IBM Guys,^_^

Jan 29 '07 #2
Amber wrote:
Are there any IBM Guys,^_^
There are, but as far as I am concerned I'm codepage illiterate...

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Jan 29 '07 #3
Serge Rielau
Glad to see you again, can you get any from your colleague,^_^.
In the Microsoft SSIS forum it seems this is a common problem.

Jan 30 '07 #4
Amber wrote:
Serge Rielau
Glad to see you again, can you get any from your colleague,^_^.
In the Microsoft SSIS forum it seems this is a common problem.
Amber,

Here is a comment from back-stage:
I have not really come across this issue in the past with OLE DB, as
most OLE DB apps use the WCHAR type - basically making OLE DB a unicode
app. It may be possible that DB2CODEPAGE is messing up OLE DB, somehow
causing a (lossy?) conversion to some other codepage, then the corrupted
data gets converted to unicode. I would recommend unsetting
DB2CODEPAGE, and if that does not resolve the issues, then this should
go through service so they can look at what specific codepoints are
getting mangled.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Jan 30 '07 #5
Yes, in order to use CLP we have set DB2CODEPAGE to 819, I will try
unset this property next morning. In the DB2 database on an AIX box,
developers have heavylly used varchar to hold chinese strings. Now we
try the OLE DB provider, ADO.NET/ODBC and ADO.NET/OLE DB provider in
SSIS ,everything works well except those strings. That's really
strange.

Jan 30 '07 #6
Amber wrote:
Yes, in order to use CLP we have set DB2CODEPAGE to 819, I will try
unset this property next morning. In the DB2 database on an AIX box,
developers have heavylly used varchar to hold chinese strings. Now we
try the OLE DB provider, ADO.NET/ODBC and ADO.NET/OLE DB provider in
SSIS ,everything works well except those strings. That's really
strange.
Well, give the recommendation a shot, otherwise I recommend support.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Jan 30 '07 #7
Hi Serge Rielau
There is something more interesting, when I use the "db2set
DB2CODEPAGE=819" command on my

workstation, Quest Central for DB2 can interpret the iso 88591
strings, but the offical tool

Control Center(I use DB2 UDB 9.1) can't; when I use the "db2set
DB2CODEPAGE=" command to

unset this property, Quest Centeral just can't connect to DB2, and the
offical tool still

can't iso 88591 string, but this time it seems the offical one is a
little more clever,

because it can connect to server and do other things.

Feb 1 '07 #8

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

Similar topics

4
by: Steve Kushubar | last post by:
I originally posted this in the internet.iis group and it was suggested that I repost it here. I am trying to use the Response.CodePage method on a Windows 2000 IIS Server. The MSDN clearly...
10
by: Christopher H. Laco | last post by:
Long story longer. I need to get web user input into a backend system that a) only grocks single byte encoding, b) expectes the data transer to be 1 bytes = 1 character, and c) uses the HP Roman-6...
8
by: Kim Bundgaard | last post by:
Hi Anyone know where I can look for problem with codepage conversion between DB2 UDB Connect EE V8.2 (fixpak 3) and DB2 UDB z/OS V7. With DB2 UDB Connect EE V7.2 (fixpak 7) i get Ebcdic X'5A'...
4
by: Ram | last post by:
Dear All, Good Day I am trying to convert a file which is generated on AS400 with codepage 00420 (arabic & English data combination) with no success. But using the same code( and changing 20420...
0
by: asklucas | last post by:
Hi there, I got an MS Access DB, which is causing problems when the client PC is running using a Traditional Chinese codepage. The DB was probably created with Access 97, Western European...
6
by: Genken | last post by:
Hi I have written a search function to Search through my database but i get this error could anyone please assist as this is quite urgent. <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include...
0
by: Cuaracao | last post by:
This is my code: Code1: 'DoCmd.OpenTable "tblImport" 'DoCmd.TransferDatabase acExport, "dBASE IV", strOutputDir,acTable,"sel_TblImport", strDbfName & ".dbf", False ' DoCmd.Close acTable,...
0
by: SiliconJaltz | last post by:
Hi, I'm trying to convert some RTF text to Unicode UTF-16. The characters I'm converting are double byte Japanese. The character set is fcharset128 which should be codepage 932. I am looking...
2
by: MitchellEr | last post by:
Hi, I've seen various forum posts that mention the ability to set ASPSmaryUpload's Codepage property in order to handle UTF-8 and other character encodings. Example:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.