pmcmicha
Technical User
- May 25, 2000
- 353
Recently the company I work for moved to supporting double byte characters in the UDB8.2 database. As the DB was already setup as (utf-8, codepage=1208) this was not much of an issue, but when we loaded our first test case, it failed.
Upon further research, we came across the method option. After reloading the table with this option, the double byte characters can be viewed.
I am trying to locate information about this load option that goes into some detail, but so far I have come up with nothing. Could someone either point me in the right direction or provide a detailed explanation of why this option makes a difference? Thanks in advance.
Code:
db2 "load from <DAT_FILE> of del modified by chardel~ coldel codepage=1208 insert <TABLE_NAME> nonrecoverable"
Upon further research, we came across the method option. After reloading the table with this option, the double byte characters can be viewed.
Code:
db2 "load from <DAT_FILE> of del modified by chardel~ coldel| codepage=1208 method P (1, 2, 3, ...) nonrecoverable"
I am trying to locate information about this load option that goes into some detail, but so far I have come up with nothing. Could someone either point me in the right direction or provide a detailed explanation of why this option makes a difference? Thanks in advance.