Tips Talk:User Specific Autoexecs in Enterprise Guide

From sasCommunity

Jump to: navigation, search

It's not really project-specific. The same code will run regardless of the project file you might load up. It is specific to EG though. All of your EG activity will be preceded with the code you specify, so it's like an EG-level autoexec.

Also misspelled "code" in the option text.

Might be useful to point out the sequence:

  • SAS autoexec processing (several levels possible in a SAS 9.2 deployment)
  • EG "built-in" definitions for macros/options (for example, options validvarname=any)
  • Tools->Options->SAS Programs: SAS code to submit when you connect
  • Tools->Options->(SAS Programs or Tasks): code to submit before running task/program

--Chris Hemedinger

Thx for the clarification. Is this user specific? Or does it apply to all users? --Don Henderson 21:10, 1 October 2009 (UTC)


Yes, the value is stored in your local user profile.

If you want to centralize it, you could have that code be something like:

%include "c:\egusers\everyone_runs_this.sas";

--Chris Hemedinger

Looking good! Chris 13:45, 2 October 2009 (UTC)

nice and timely

This is a nice and timely tip! --Phil Miller (STATPROF) 22:26, 9 October 2009 (UTC)

==Good Tip - Promoted --Nancy 14:09, 15 October 2009 (UTC)

Personal tools