
The content you see in the comparison tool is a copy of your program.The comparison tool launches with the contents of each program loaded for comparison. When you have exactly two programs selected, right-click and select Compare. In the Project Tree or Process Flow, you can select multiple programs by using the standard Ctrl+Click sequence or by "rubber banding" a selection with the mouse (Process Flow only).

Select the two files that you want to compare
There are built-in presets for the three comparison tools that I mentioned, or you can go "off road" and select your favorite with "Other".ģ. Check " Use custom file comparison tool" and then select your tool of choice. Select Tools->Options, then the File Comparison tab. Set your File Comparison options in SAS Enterprise Guide They also integrate with source control systems, if you use those (Git, Subversion, etc.). Your choice! Most of these tools can integrate with your file system so that you can compare any two files from Windows Explorer.

But some of my colleagues prefer Beyond Compare or KDiff. That's why I'm really pleased with the new Compare Programs feature in SAS Enterprise Guide 7.1. My file-comparison tool of choice is WinMerge. When things (inevitably) aren't working as I intend in one of these next-generation programs, I find that I need to compare that program against the original to see what I've missed. In my work projects, I maintain a sort of genealogy of SAS programs, because the DNA of one program can be used to spawn many other SAS programs as its progeny. Copy/paste is my favorite method for creating new SAS programs.
