06-01-2014 12:20 AM
SAS programs are text files so you can use any text editor comparison tools to do this, even Word will compare docs I believe.
06-01-2014 01:33 AM
If you know Eclipse - a Java Develop tool, there is a built-in program compare tool. Ctr+ left mouse and select these two code , right mouse and select compare
06-02-2014 04:27 AM
If your SAS system runs on UNIX, the diff command will be your friend.
06-02-2014 04:42 AM
+1 to all the above. To add, there is a simple website for this: http://www.comparemyfiles.com/
Or if you are using version control then there are usually compare tools embedded - Diff with previous version in SVN/TortoiseSVN for instance.
06-02-2014 05:39 AM
Hi K C Wong
it is very easy task to do.
1) you need export this both code as a Text format.
2) then you by using proc import import both code in SASDATA set.
3) then you can simply use.
proc compare base = dataset1 compare= dataset2 ;
then you you will be get your answer if code is matching of not..
please let me know this answer help full or not.