Newline characters
Type Win-UX hosts use a newline character to separate each record for text transfer.
The character that HULFT uses as a newline character varies depending on HULFT products as follows:
- HULFT for UNIX/Linux:
-
0x0A (LF)
- HULFT for NSK:
-
0x0A (LF)
- HULFT for Windows:
-
0x0D0A (CRLF) and 0x0A (LF)
For Type MF-IBMi hosts, one record for a text transfer is equivalent to one record in a file.
HULFT converts newline characters according to the combination of the host on the sending side and the host on the receiving side, as shown below.
HULFT on Sending Host |
HULFT on Receiving Host |
Conversion of Newline Characters |
---|---|---|
HULFT for Mainframe or HULFT for IBMi |
HULFT for UNIX/Linux or HULFT for NSK |
Addition of LF (0x0A) |
HULFT for Windows |
Addition of CRLF (0x0D0A) |
|
HULFT for UNIX/Linux or HULFT for NSK |
HULFT for Windows |
Conversion of LF (0x0A) to CRLF (0x0D0A) |
HULFT for Mainframe or HULFT for IBMi |
Deletion of LF (0x0A) |
|
HULFT for Windows |
HULFT for UNIX/Linux or HULFT for NSK |
Conversion of CRLF (0x0D0A) to LF (0x0A) |
HULFT for Windows |
Conversion of LF (0x0A) to CRLF (0x0D0A) (*1) |
|
HULFT for Mainframe or HULFT for IBMi |
Deletion of CRLF (0x0D0A) or LF (0x0A) |
*1 |
: |
HULFT does not convert the LF (0x0A) of CRLF (0x0D0A) to CRLF (0x0D0A). |
Even if you specify 'No Conversion' for Code Conversion in the Send Management Information, HULFT carries out the conversion of newline characters as described above.