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 > Problem with codepage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-16-06, 09:03
sepiavgupta sepiavgupta is offline
Registered User
 
Join Date: Nov 2006
Posts: 1
Problem with codepage

While trying to propagate data from AS400 to db2 database on RS6k Box I am getting error:

Message . . . . : Function restricted - SQLSTATE 56098, SQLCODE -727.
Cause . . . . . : An SQL or a product restriction was returned by the
application server. Either the SQLSTATE and SQLCODE are not recognized by
SQL or the GET DIAGNOSTICS DB2_TOKEN_STRING is not valid for the
corresponding SQL message.
The GET DIAGNOSTICS MESSAGE_TEXT is .
The GET DIAGNOSTICS DB2_TOKEN_COUNT is 4.
The GET DIAGNOSTICS DB2_TOKEN_STRING is 5-20442704ASN.SGSIGDP.
The relational database is DATADB and the product identification is
SQL08016.
Recovery . . . : Refer to the product specific documentation for the
application server.

In Diag Log I find this information:

DIA5000C A DRDA AS token "RECOVERABLE" was detected. The diagnostic data
returned is (SRVDGN): "FUNCTION ID = 0012 , PROBE POINT = 0649 , TRACE POINT =
0150 , SUBCODE1 = 8005006D, SUBCODE2 = FFFFFEB4, SUBCODE3 = 00000000, ERROR MSG
= SQLAM: CONNECT failed. CCSID specified on ACCRDB not supported".

Conversion table not available. Source code page = 0, Target code page = 1208

DIA8102C Conversion table not loaded. Source code page "", Target code page "",
method "", handle "".
ZRC=0x800F005Bÿ

My Db cfg is :

Database configuration release level = 0x0a00
Database release level = 0x0a00

Database territory = US
Database code page = 1208
Database code set = UTF-8
Database country/region code = 1

We are not populating any non english character


Urgent Help would highly be appreciated...

Regards,
Sepia
Reply With Quote
  #2 (permalink)  
Old 11-16-06, 11:56
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
as400

if the source database as/400 has default codepage or based on files with default codepage (something like 65341 : don't know the exact nbr)
then this conversion is not supported by drda and you will get errors or
not readable data
source database has to be other cp like 500 or other supported codepage
in older versions this cp was the default for as/400, but since 5.2 the cp500 is the default. maybe this was a db generated before the new default and db has to be converted to be able to be accessed by drda
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
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