If used on an Unreal operating system (unlike @Kurt_Bremser 🐵 there are numerous options for text comparisons. For instance, on windows you have the fc tool from the command line which can compare files, so you could stream that into a SAS program. I would be careful that the files are very similar though, adding a return after the first line of 2000 lines, would result in 1999 differences for instance, so you may need to process the compare information, or even write a SAS program to load the two files, strip blanks/returns other specials out of the files, then compare the remaining characters - this is something we do on RTF files for instance.
I would agree with @ChrisBrooks that a version control system is your best bet for consistency across various areas/systems, that will retain one repository version, and the others extract a local copy maintaing the link between the two.
... View more