今天運行datastage 報這個錯誤,就是連不上db2 數據庫數據庫
SQL0332N Character conversion from the source code page "1386" to the target
code page "819" is not supported. SQLSTATE=57017ide
查詢資料處理以下spa
db2set db2codepage=1208.net
db2set db2country=86code
db2 terminateserver
數據成功連上blog
如下轉載:ip
1. exceptionv8
SQL0332N Character conversion from the source code page "819" to the target code page "1386" is not supported. SQLSTATE=57017rem
a. analysis
Looks like on database code page is 819 and on v9 client code page is 1386.
Code page 819 is Albania, territory. -- the remote server
Code page 1386 is China (PRC), territory . -- my local
b. Fixing way
There is no conversion available between these two code pages.
So you can change the code page on client to 819 or Unicode(UTF-8) 1208.
yup, I like Unicode, so the steps I ran as followings
Then everything turns to be Ok. remote serverd was connected successful
2. exception
SQL0805N Package NULLID.******** was not found
a. analysis,
it caused by the client didn't bind the DB2 database v7 or v8
b Fixing way,
we need to bind on that.
The best way is to use Configurate Assistant
1. Launch Configurate Assistant
2. Right click on your database
3. Then select Bind
4. Choose CLI to be bind.