Conversion in HULFT for IBMi, HULFT for UNIX/Linux, HULFT for NSK, or HULFT for Windows

The conversion rules for Character (X) vary as follows, depending on the setting of X Type Conversion in the System Environment Settings:

(1) When X Type Conversion is 'Mode 0'

HULFT carries out Code Conversion in the same manner as for Variable-length Characters (M).

HULFT converts the character codes in the transfer file on the host on the sending side, based on the code set that is registered in the Host Information.

(2) When X Type Conversion is 'Mode 1'

HULFT converts control characters, including newline characters and shift codes, as single byte codes.

In file conversion between two of the Type-ASCII Code Sets, HULFT does not carry out conversion.

In conversion between the Type-ASCII Code Set and the Type-EBCDIC Code Set, HULFT converts character codes between EBCDIC and ASCII.

For EBCDIC, HULFT converts the codes based on the code sets that are specified for EBCDIC Set in the Send Management Information and in the Receive Management Information.

In conversion between two of the Type-EBCDIC Code Sets, HULFT carries out conversion based on the code sets that are specified for EBCDIC Set in the Send Management Information and in the Receive Management Information.

In conversion between two of the Type-EBCDIC Code Sets, HULFT does not carry out conversion if you specify Conversion between EBCDIC Codes in the System Environment Settings as '0.'

 

When you want to carry out conversion in the same way as HULFT Ver.5, specify 'Mode 1' for X Type Conversion and '0' for Conversion between EBCDIC Codes.

Refer to Administration Manual for the System Environment Settings.

Note
  • Since the half-width Katakana characters in the EUC-JP code set are double byte codes, HULFT cannot convert them successfully if the following conditions are met:

    • Character (X) is specified for the field type in the format information

    • 'Mode 1' is specified for X Type Conversion in the System Environment Settings

  • Since the UTF-8 and GB18030 code sets contain multibyte characters, HULFT cannot convert them successfully if all the following conditions are met:

    • The transfer type is format transfer or multi format transfer

    • Character (X) is specified for the field type in the format information

    • 'Mode 1' is specified for X Type Conversion in the System Environment Settings

  • For IBM Simplified Chinese, HULFT ignores the specification of Conversion between EBCDIC Codes.