Current location: Hot Scripts Forums » Other Discussions » Database » DB2: There is no available conversion for the source code page


DB2: There is no available conversion for the source code page

Reply
  #1 (permalink)  
Old 12-14-09, 03:22 AM
x_globus x_globus is offline
Newbie Coder
 
Join Date: Nov 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
DB2: There is no available conversion for the source code page

I'm usind db2 8. Try to connect to the database (on the remotee computer, using vpn).
While connecting I have an error:

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

I tried to set DISABLEUNICODE=1 in db2cli.ini, and aslo tried to set db2set DB2CODEPAGE=1251. But it did not help.

What shall I do in order to connect to the database?
Reply With Quote
  #2 (permalink)  
Old 12-15-09, 07:58 AM
x_globus x_globus is offline
Newbie Coder
 
Join Date: Nov 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
The problem is solved.
As database I wish to connect to is situated in US, I set DB2CODEPAGE=1252,
where 1252 is value for codepage in US.
Reply With Quote
Reply

Bookmarks

Tags
db2


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving HTML source code using PHP? 1jetsam PHP 2 12-31-05 04:43 AM
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
Look for a source code bionicsamir Script Requests 3 01-29-04 05:21 PM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM


All times are GMT -5. The time now is 05:14 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.