Locale considerations
You can modify the data source connection definitions to use different local code pages.
Before you begin
US/English
IBM 1047) that the studio uses
to perform character data translations between the native Java character encoding (UTF-8) and
the mainframe. Procedure
- To configure the data source connection definition, in the Active Connections view, close all open connections.
- On the Client tab, expand .
- Right-click the data source that you want to modify and click Edit.
- In the Data Source Editor, click the Connection String tab.
-
Add or modify the
Charsetsetting to use the appropriate EBCDIC code page. For example,Charset=IBM037. -
If
LGID=ENCexists in the connection string, delete it to avoid a conflict with theCharsetsetting. - Close the Data Source Editor.
- When prompted, click Yes to save the data source definition.
-
To change the default
Charsetthat the studio uses when creating connection definitions, from the Window menu select Preferences, expand . -
In Connection Overrides, enter the new
Charsetsetting and click Apply. - On the Server tab, expand .
- Right-click the data source to which you want to connect and select Create Connection Definition (DSN).
- Accept the default name that is displayed or enter a new DSN name and click OK.
-
In the Data Source Editor, click the Connection
String tab and confirm that the new
Charsetsetting displays in the connection string.