6 Open System to M ainframe (OTM)
Character Code Conversion
This chapter describes open system to Mainframe (otm) character code conversion.
• Overview, page 59
• Alphanumeric Field Conversion (CHAR:OPK9), page 60
• Double-byte Character Field Conversion (KANJI:OPK6), page 60
• Double-byte Character Field Conversion (KANJI:OPK7), page 60
• Customizing the Code Conversion Table, page 61
Overview
Single-byte code conversion involves changing code from ASCII to EBCDIC. Double-byte code
conversion is from Big5 to IBM Traditional Chinese. The Data Exchange Code Converter provides
the following types of character code conversion for each field data type, as shown in the following
table.
Table 13 otm Code Conversion
Field Type and Conversion
Mode
Character Code ConversionInput Field Data
Type
CHAR:OPK9ASCII to EBCDICASCII
KANJI:OPK6Big5 to IBM Traditional ChineseBig5
KANJI:OPK7
ASCII and Big5 mixture data to EBCDIC and IBM
Traditional Chinese code conversion
ASCII and Big5
All code conversion uses specified code conversion tables. Big5 code is converted to IBM Traditional
Chinese.
P9000 Data Exchange Code Converter User Guide 59