I found this on http://www.sconsig.com/
/*** TIP 00196 ***/
UltraEdit Tool Configuration for SAS
Author: John Iwaniszek
Does someone know how can I run sas programs directly from UltraEdit using Tool Configuration?
This can be done in the advanced tool configuration dialog box
Set the command line to whatever command line your SAS system program file type uses (ex: c:\sas\sas.exe %f -nologo -config). The %f parameter will contain the current file open in Ultraedit using long filenames.
check the tickbox 'Check if Windows program', otherwise it won't work
Set the working directory to %p.
To set up a button on the menu use the advanced configuration toolbar tab and insert usertool 1 or later if you have set up other tool.
Now all you have to do to run the program you just saved is hit hammer1 (you'll know what I mean after you set it up) button and your program will run.
If you have the log, lst and any other files open before you execute the program they will automatically update after the program is finished executing. There are options for setting how the file update works in the configuration menus.
Statistical Programming Manager
Stat-Tech Services, LLC
919 571 6444
Developers of the Macro Reporting System - Delivering Statistical reports in ASCII, RTF, and HTMLhttp://www.StatTechServices.com
/end of tip 00196 ***/