Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
None
-
None
-
None
Description
For instance, consider a file with only 1 record x’4D320A0C0D0A’ 6 bytes: “M” + “2” + x’0A0C’ (COMP-3 x’250C’) + x’0D0A’ (indicator for end of record)
We expect to receive only one record EBCDIC x’D4F2250C’ but instead I get two records since x’0A’ is converted to x’25’ which is EBCDIC newline character (LF)
Record 1: X’D4F2’
Record 2: x’0C’
In Windows, the delimiter is X’0D0A’. As a matter of fact, when I transfer the exact same file using Windows FTP, then I get the expected result which is a single record with EBCDIC x’D4F2250C’