Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Using other predefined code tables

In addition to the standard code table OSD_EBCDIC_DF04_DRV, the following code tables are also supplied with the product BeanConnect:

  • OSD_EBCDIC_DF03_IRV (only UTM partners)

  • OSD_EBCDIC_DF04_1 (only UTM partners)

  • OSD_EBCDIC_DF04_15 (only UTM partners)

  • code tables of the JVM (UTM and CICS partners)

BeanConnect supports the code tables provided with the JVM. You will find a list of the JVM code tables

You select the required code table at deployment time as follows:

  • In the configuration property encoding specify the name of the required code table. You specify a JMV code table with jdk:<jvm-code-table>.

  • Set the configuration property encodingActive to true to activate it.

You select the required code table at runtime as follows:

  • In the Java program activate the required code table with the setEncoding() method of the EISConnection interface or the OltpMessageContext interface.

You can use the Management Console to specify a code table for an inbound service. This specification overwrites the value for encoding and sets encodingActive to true, see Configuring inbound services .

Example 20 Using predefined code tables

Code table OSD_EBCDIC_DF03_IRV is to be used:
connection.setEncoding(Encoding.getEncoding("OSD_EBCDIC_DF03_IRV"))

JVM code table CP1047 is to be used:
connection.setEncoding(Encoding.getEncoding("jdk:Cp1047"));
connection.setEncodingActive(true);

The other predefined code tables are shown on the following pages.

In all the following Byte - Character (Unicode) Correspondence tables

  • the x and y axes indicate the relevant 1-byte EBCDIC code

  • the first line in a field indicates the 2-byte Unicode (leading non-significant bytes are not indicated)

  • the second line in a field indicates the Unicode printing character

In all the following Character (Unicode) - Byte Correspondence tables

  • the x and y axes indicate the relevant 2-byte Unicode

  • the relevant field indicates the associated 1-byte EBCDIC code

Code table OSD_EBCDIC_DF03_IRV

The table below shows the assignment of 1-byte EBCDIC code, printable Unicode characters, and 2-byte Unicode defined in the code table OSD_EBCDIC_DF03_IRV.

Byte - character (Unicode) correspondence

Character (Unicode) - byte correspondence

Substitute character: 6F

Code table OSD_EBCDIC_DF04_1

The table below shows the assignment of 1-byte EBCDIC code, printable Unicode characters, and 2-byte Unicode defined in the code table OSD_EBCDIC_DF04_1.

Byte - character (Unicode) correspondence

Character (Unicode) - byte correspondence

Substitute character: 6F

Code table OSD_EBCDIC_DF04_15

The table below shows the assignment of 1-byte EBCDIC code, printable Unicode characters, and 2-byte Unicode defined in the code table OSD_EBCDIC_DF04_15.

Byte - character (Unicode) correspondence

Character (Unicode) - byte correspondence

Substitute character: 6F

Results for entries > 0x00FF