Code Conversion rules for format transfers and for multi format transfers

In format transfer and multi format transfer, HULFT converts codes according to the field type that is specified in the Format Information.

 

There are code conversion rules for each field type.

In format transfer and in multi format transfer, HULFT does not recognize newline characters as record delimiters, even on Type Win-UX hosts.

Therefore, transferring from a Type Win-UX host to a Type MF-IBMi host does not remove newline characters from data.

Also, transferring from a Type MF-IBMi host to a Type Win-UX host does not add newline characters to data.

 

The following shows the field types that you can define in HULFT in the Format Information:

Table 2.4 Field Type in Format Information

Field Type

Size (Bytes)

Field Explanation

X

Character

1–9999

  • Character data format that contains only single byte codes for HULFT (*1)

M

Variable-length Characters

1–9999

  • Character data format where single byte codes and double byte codes for HULFT coexist

  • Requirement of enclosure of double byte codes within shift codes when the Code Set for Transfer is a Type-EBCDIC Code Set

N

Double-byte Graphic Characters

2–9998

(*3)

  • Character data format that contains only double byte codes for HULFT (*2)

  • Data that HULFT can use without shift codes when the Code Set for Transfer is the Type-EBCDIC Code Set and double byte codes are not enclosed within shift codes

9

Unsigned External Decimal

1–18

  • Decimal data format of zoned numeric without sign

B

Binary

2,4,8

  • Numeric data format of signed integer

P

Signed Internal Decimal

1–10

  • Packed decimal data format with sign (within 18 digits)

S

Signed External Decimal

1–18

  • Decimal data format of zoned numeric with sign

F

Floating Point

4,8

  • Floating point data format with sign

    • HULFT for Mainframe

      Support of the floating decimal format of IBM

    • Other host types

      Support of the floating decimal format of IEEE

I

Image

1–9999

  • Data format that indicates no conversion

*1

:

For details on the conversion rules for data of Character (X), refer to Format conversion rule 2 (character type).

*2

:

When data whose type is Double-byte Graphic Characters (N) contains single byte codes, HULFT does not carry out conversion properly.

*3

:

You can specify only an even number of bytes.

= Remarks =

The following products do not support format transfer or multi format transfer:

  • HULFT10 for Container Services

  • HULFT10 for Container Platform