Hi, I am a SAS admin, and one of our end user requests is to create a progam folder for each user.
For backup and recovery purposes, they do not want to use the home folder to store their programs.
I cannot figure out how to create a link in EG to that server program folder. Any suggestions?
Note: this folder would only contain SAS code. We are using Enterprise Guide 7.1 on Windows 7 and connecting to a Linux Server running SAS 9.4M3.
As an alternate method, and since your server runs on UNIX:
You can create symbolic links in user's home directories that point to locations elsewhere. This avoids having to create a separate server.
I haven't done this myself, but I don't see any problems.
When you say "SAS programs", I assume this means that you want to store your SAS code nodes externally to the EG project.
To do this, select "File | Save Program As...". In the tabs on the left, you can select "Servers", and from there navigate to any folder location you want. Make sure to have your Linux admin apply restrictions so that only the user can access the folder assigned to them.
Tom
Hi, you can control the root folder that users see in their server->Files location with the following setting in SMC:
(in SMC's Server manager plug-in, expand "SASApp" (or whatever your server is named), then "SASApp - Logical Workapce Server", right-click "SASApp - Workspace Server", select Properties, click Options tab, click "Advanced Options..." button, click "File Navigation" tab.)
If you want the servers->Files location to point to different folders per user, but don't want to use their home directory ("SAS User Root"), you can specify a path with an environment variable substitution. For example, select "Path" and specify "c:\%username%".
Casey
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
The File Navigation setting applies to all users of that server defintion. So, if you want different users to have different File Navigation settings, I would accomplish by defining another server in metadata for that group with the desired File Navigation setting (otherwise identical). (Most likely you'd want to make only the respective servers visible to the respective groups (clear or set ReadMetadata on each server for the appropriate groups).)
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
As an alternate method, and since your server runs on UNIX:
You can create symbolic links in user's home directories that point to locations elsewhere. This avoids having to create a separate server.
Thanks. I had thought of this independently and it works like a charm.
I wish this was documented somewhere!
TBH, working with symbolic links is such a natural thing for UNIX admins that one rarely thinks to make a specific mention of it.
And since symbolic links were a UNIX specific for a long time, this is probably the reason they are not part of the overall SAS documentation
Kurt -thanks fo rthe info. My end users are reporting that the links are indeed visible under "Servers". I was hoping that they would appear under "SAS Folders" as well. Note:one of the folders is for SAS programs, so there is no metadata to register.
Keep in mind that SAS Folders are metadata structures and not part of the filesystem.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.