Usage Note 24484: How to automatically execute code when SAS® Enterprise Guide® opens
For SAS Enterprise Guide 3.x and 4.1x, you can automatically execute code when SAS Enterprise Guide is opened. One method is to add SAS code to EGAuto.sas. When you open SAS Enterprise Guide, the code in EGAuto.sas automatically executes on the default SAS server that is specified in SAS Enterprise Guide.
From your SAS Enterprise Guide client machine, open EGAuto.sas, which resides in this folder:
C:\Documents and Settings\your-id\Application Data\SAS\Enterprise Guide\3.0
-
Add your code at the end of EGAuto.sas.
-
Save and close EGAuto.sas.
-
Exit SAS Enterprise Guide and then restart it to confirm the code executes correctly.
For SAS Enterprise Guide 4.2x and beyond, use: Tools ► Options ► SAS Programs then select Submit SAS code when server is connected, then click Edit, then enter the SAS code you want to execute on the SAS server when opening a project.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Windows | n/a | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Date Modified: | 2007-12-03 10:30:17 |
Date Created: | 2006-01-25 14:54:16 |