As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Difference between revisions of "Tips Talk:User Specific Autoexecs in Enterprise Guide"

From sasCommunity
Jump to: navigation, search
(nice and timely: new section)
Line 24: Line 24:
  
 
Looking good! [[User:Chris|Chris]] 13:45, 2 October 2009 (UTC)
 
Looking good! [[User:Chris|Chris]] 13:45, 2 October 2009 (UTC)
 +
 +
== nice and timely ==
 +
 +
This is a nice and timely tip!
 +
--[[User:Statprof|Phil Miller (STATPROF)]] 22:26, 9 October 2009 (UTC)

Revision as of 17:26, 9 October 2009

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)