As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Difference between revisions of "Tips:%SASDIFF Differential File Comparison Macro"

From sasCommunity
Jump to: navigation, search
(edit categories)
(tip ready)
Line 24: Line 24:
<div style="float:right">Submitted By [[User:Rbettinger|Rbettinger]]</div>
<div style="float:right">Submitted By [[User:Rbettinger|Rbettinger]]</div>
[[Category:Tip to be Reviewed]]
[[Category:Tip Ready]]

Revision as of 21:55, 2 May 2015

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 in another. more

Submitted By Rbettinger