%SASDIFF is to SAS as sdiff is to UNIX

From sasCommunity
Jump to: navigation, search

The %SASDIFF macro performs differential file comparison and can be used for SAS programs the same way that the UNIX sdiff utility can be used to compare files containing program code or data. You can use %SASDIFF to highlight commonalities and differences between SAS programs or data files. %SASDIFF has options to recognize upper/lower case, ignore white space and/or blank lines, and ignore matching lines between two files.

%SASDIFF can be used for version control to detect differences between files and to compare text files containing data, indicating lines that may be out of order or which are present in one file but not another.

Resources

Related pages