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:
Field Type |
Size (Bytes) |
Field Explanation |
|
---|---|---|---|
X |
Character |
1–9999 |
|
M |
Variable-length Characters |
1–9999 |
|
N |
Double-byte Graphic Characters |
2–9998 (*3) |
|
9 |
Unsigned External Decimal |
1–18 |
|
B |
Binary |
2,4,8 |
|
P |
Signed Internal Decimal |
1–10 |
|
S |
Signed External Decimal |
1–18 |
|
F |
Floating Point |
4,8 |
|
I |
Image |
1–9999 |
|
*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. |