Relations between transfer types and Code Conversion
In HULFT, specify a transfer type to transfer files.
Select a transfer type suitable for the data to transfer, and HULFT carries out conversions appropriate for the transfer type.
For details on the transfer types, refer to Transfer types.
Shown below is the relationship between transfer types and Code Conversion.
Text Transfer
In text transfer, HULFT converts the following codes:
-
Single byte codes
-
Double byte codes
-
Shift codes
-
Space codes
-
Newline characters
-
Tab codes
For details on conversion rules of shift codes, refer to Shift code conversion rules.
For details on conversion rules of space codes, refer to Space code conversion rules.
For details on conversion of newline characters and tab codes, refer to Text transfers.
Format Transfer and Multi Format Transfer
In format transfer or multi format transfer, HULFT converts codes according to the field type that is specified in the Format Information.
Select an option in the Format Information that is appropriate for the data for transfer.
The following table shows the relation between each field type in the Format Information and Code Conversion:
Field Type |
Code Conversion Type |
|
---|---|---|
X |
Character |
Single byte code conversion |
N |
Double-byte Graphic Characters |
Double byte code conversion |
M |
Variable-length Characters |
Single byte code conversion and double byte code conversion |
9 |
Unsigned External Decimal |
Single byte code conversion |
B |
Binary |
Byte order conversion |
F |
Floating Point |
Byte order conversion |
P |
Signed Internal Decimal (packed decimal) |
Attribute conversion |
S |
Signed External Decimal (zoned decimal) |
Attribute conversion |
I |
Image |
No conversion |
For details on format transfer and multi format transfer, refer to Code Conversion rules for format transfers and for multi format transfers.
For details on conversion rules of shift codes, refer to Shift code conversion rules.
For details on conversion rules of space codes, refer to Space code conversion rules.
Binary Transfer
HULFT transfers files without carrying out Code Conversion (no conversion).
For details on binary transfer, refer to Binary transfers.