Other Code Conversion

The following shows how HULFT converts character codes that are not listed in Conversion of ASCII.

Table A.14 Other Code Conversion

Before Conversion

After Conversion

ASCII

EBCDIC

ASCII

Mainframe

Fujitsu K

Others

0x00

0x40

No conversion

No conversion (*2)

No conversion (*2)

From 0x01 to 0x1F

0x60

0x40

No conversion

No conversion

Others (*1)

0x60

0x40

0x40 (*2)

No conversion (*2)

*1

:

When you carry out the following, HULFT may treat the characters as double-byte characters, depending on the code set from which HULFT carries out conversion:

  • Text transfer

  • Format transfer with Field Type in the Format Information specified as 'M (Variable-length Characters)' or 'N (Double-byte Graphic Characters)'

  • Multi format transfer with Field Type in the Format Information specified as 'M (Variable-length Characters)' or 'N (Double-byte Graphic Characters)'

*2

:

When all the following conditions are met, an error occurs in Code Conversion:

  • Existence of the code as the first byte of a double-byte character in the data

  • Carrying out of one of the following;

    • Text transfer

    • Format transfer with Field Type in the Format Information specified as 'M (Variable-length Characters)' or 'N (Double-byte Graphic Characters)'

    • Multi format transfer with Field Type in the Format Information specified as 'M (Variable-length Characters)' or 'N (Double-byte Graphic Characters)'

  • Conversion from UTF-8 to other code sets

 

In text transfer with sending-side conversion from one of the Type-ASCII Code Sets to another of the Type-EBCDIC Code Sets, HULFT temporarily replaces the tab code (0x09) with the space code (0x20) when certain conditions are met.

The conditions are shown below.

Table A.15 Conditions by Product Type

Product

Condition

HULFT for UNIX/Linux

Specification of '0' for Tab Code Mode (tabchange) in the System Environment Settings

HULFT for NSK

Specification of '0' for Tab Code Mode (tabchange) in the System Environment Settings

HULFT for Windows

Specification of '0' for Tab Code Mode (tabchange) in the System Environment Settings

HULFT for zOS

-

HULFT for IBMi

-

-

:

No condition

 

After temporarily replacing the tab code, code conversion is carried out according to the setting of Code Conversion in the Send Management Information.