Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-697

problem while transferring an Ascii file containing COMP-3 values from Windows to Z\os

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • None
    • None
    • FTP
    • 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’

      Attachments

        Activity

          People

            Unassigned Unassigned
            iitzhak Itay Itzhak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: