• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • Last Modified:

the encoding configuration of DB2 V8.02

Dear all,

how can I find out the langurage encoding configuration from DB2 V8.02 on Solarix 9 if  I can't putty to it as I am a windows user so I use a lot of UI, I connect by Toad for DB2 v5.6

we would like to see if that DB can store chinese characters.
0
marrowyung
Asked:
marrowyung
  • 2
1 Solution
 
marrowyungAuthor Commented:
Administrator, please help to bring me in more DB2 people . tks.
0
 
Kent OlsenData Warehouse Architect / DBACommented:
HI Marrowyung,

Sorry for the delay in getting back to you.

UDB V8 is very old.  I don't remember the exact details that far back so I'll do the best that my old memory allows.

Connect to your database through the command-line interface and check the db configuration

  db2 connect to mydb
  db2 get db cfg | head -n 12

The results will look something like this:

       Database Configuration for Database

 Database configuration release level                    = 0x0d00
 Database release level                                  = 0x0d00

 Database territory                                      = US
 Database code page                                      = 1208
 Database code set                                       = UTF-8
 Database country/region code                            = 1
 Database collating sequence                             = SYSTEM_1252
 Alternate collating sequence              (ALT_COLLATE) =

Open in new window


That's from my database, which was created with all US defaults.  The most important items in the list are the code page and code set (1208 and UTF-8).

Now check the IBM pages for language support.

  http://www-01.ibm.com/support/knowledgecenter/SSEPGG_9.7.0/com.ibm.db2.luw.admin.nls.doc/doc/r0004565.html

Table 12 contains the list of Chinese translations.  1208/UTF-8 occurs twice in the table.  Once for AIX and once for Solaris.  There is no collation page shown for 1208/UTF-8 for either O/S, suggesting that Chinese is not supported for these systems in 1208/UTF-8.

Kent
0
 
marrowyungAuthor Commented:
when I search 'chinese' and it give simplified chinese, I see this line:


1208 N-1 UTF-8 385   HR_HR AIX

it means this 1208 and UTF-8 support simplified chinese, right?

and how can I change it to support both simplified chinese and tranditional chinese?
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now