Hi,
I have a macro (%space), which I would like to make available for all my colleagues using SAS Studio.
The following code works for a single session:
options append=(sasautos=('D:\sasmacros'));
options MRECALL;
%space(d:\sasdata);
How can I modify the SASAUTOS option permanently, so that 'D:\sasmacros' is added by default for all sessions and all users?
Can it be changed through SAS Management Console?
Thanks in advance
Your idea is not so bad, but using SMC is not what I would do, as adding a complex action on the command line can be tricky (and the command line is mostly what you can manipulate in SMC).
Find the configuration tree of your BI Server environment on your SAS server. Then, find the directory for your workspace server, under Windows this should be something like
D:\SASHome\Lev1\SASApp\WorkspaceServer
There, add your commands to the autexec_usermods.sas file; if you want this change to also work for other types of servers in the SASApp context (ie stored processes, batch server), make this change in the SASApp directory, in file appserver_autoexec_usermods.sas.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.