No announcement yet.

How to ignore end of line characters

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to ignore end of line characters

    We are doing a mainframe to AIX conversion, keeping cobol on the AIX box, and are using BC3 to do the comparisons between the files generated on AIX and the files generated on the mainframe and ftped down to AIX and converted to ASCII. Basically we are using a text compare specifying the record length for the files being compared under the tools/file format pull down.

    The issue arises when a X'0D' is encountered in the record, it causes a line break in the compare and then takes the next specified record length of bytes to compare causing the files to display incorrectly, but still compare correctly, from that point forward.

    I have been searching the forums and knowledge base for a way to tell BC3 to ignore end of line markers per se but I am failing to do so. If there is a way I would like to know how to set it up so we can do that for the folks testing the conversion and doing the file comparisons.



  • #2
    Beyond Compare doesn't provide a way to ignore line break characters (0D0A-Windows, 0D-Mac, 0A -Unix).

    Even if you've defined a maximum line length of 80 characters, BC will break a line as soon as it hits a line terminator character.

    Beyond Compare also doesn't provide a way to compare across line terminators. This means:

    one two



    will always show as a difference.
    Chris K Scooter Software


    • #3
      Thank you for your response.

      I would like to suggest that if possible that BC3 be enhanced to have that option to ignore windows/unix/mac end of line terminators as more and more mainframe shops are migrating to other platforms and it would be great feature for them to have when using this tool.


      • #4
        Thanks for the suggestion. I'll add this to our Customer Wishlist.
        Aaron P Scooter Software