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 > SQL0332N Code Page Conversion Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-07, 09:45
divakargoel divakargoel is offline
Registered User
 
Join Date: May 2005
Location: Bangalore, India
Posts: 27
SQL0332N Code Page Conversion Error

I have 2 instances on the same box say Inst1 and Inst2. Inst1 has got a database say db1 with following properties:

Database territory = JP
Database code page = 932
Database code set = IBM-932
Database country/region code = 81
Database collating sequence = UNIQUE

I have cataloged db1 on Inst2 which has its own databases as well.

When I try to connect to db1 from Inst2, I am getting error:

db2 connect to db user username using passwd

SQL0332N There is no available conversion for the source code page "819" to
the target code page "UNKNOWN". Reason Code "1". SQLSTATE=57017

I was reading thru all the posting on this issue before and found changing
DB2CODEPAGE setting will help. I did as below:

db2set DB2CODEPAGE=932

After this when i tried to connect, it connected, but then I was not able to connect to databases on the Inst2 itself and got the same error as above.

Can anyone tell how can i get access to both.

Also one strange thing, when another user tries to log in by using his id, he is able to connect without any issue. He could even connect to the local databases. This is without doing any change.

Please help.

We are on Db2 Aix 4.3

db2level
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08020"
with level identifier "03010106".
Informational tokens are "DB2 v8.1.0.64", "s040812", "U498349", and FixPak "7".
Product is installed at "/usr/opt/db2_08_01".


Div
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