Oracle® Business Intelligence Applications Installation and Configuration Guide > Preinstallation and Predeployment Considerations for Oracle BI Applications > Deploying Oracle Business Analytics Warehouse in Latin-1 General, Unicode and Non-English Environments >
Setting the DB2CODEPAGE Environment Variable for DB2 Databases
Follow this procedure to set the DB2CODEPAGE environment variable for DB2 databases. To set the DB2CODEPAGE environment variable for DB2 databases
- Determine the DB2CODEPAGE value.
- Connect to the Source database, using the following command:
SELECT CODEPAGE FROM SYSCAT.DATATYPES WHERE TYPENAME = 'VARCHAR'
- Make a note of the result.
For example: 1208
- For Windows:
- Navigate to Control Panel > System and click the Advanced tab. Click Environment Variables.
- In System variables section, click New.
- In the Variable Name field,
DB2CODEPAGE .
- In the Variable Value field, enter the value that was returned in Step 1.
- For UNIX, set the variable as shown below:
setenv DB2CODEPAGE <DB2CODEPAGE value>
For example: setenv 1208 .
- Reboot the machine after creating the variable.
|