BookmarkSubscribeRSS Feed
sudipghosh
Calcite | Level 5

I have opened and SAS Enterprise guide and connected to the server.

 

Now I want the default location for the Files folder under SASApp server to be changed 

 

I am using Enterprise Guide 7.15.

 

kindly advise.

 

Thanks in advance.

 

 

Sudip Ghosh

 

3 REPLIES 3
Kurt_Bremser
Super User

The root path for the Files navigation pane in EG is defined in the metadata of the workspace server. A change has to be done there by the SAS administrator.

The SAS Managament Console provides three options for that

  1. the user's home directory (which is the default)
  2. the system root
  3. a fixed path (would be the same for all users, so it is rarely used)

What path would you like to have set in place of the default?

sudipghosh
Calcite | Level 5
Thanks @Kurt_Bremser for your response. In Server (F Drive) we have multiple folder for each groups, under each group we have defined folders for different users. Suppose the user is X and user X belongs to Sales group. So for User X we want default folder to be "F:\Sales\X"
Kurt_Bremser
Super User

The username can be retrieved in Windows with %username%, but there is no environment variable for "group" that can be used to dynamically set the navigation path.

You will have to fiddle around with creating an environment variable for the group while a user is "switched to" (done by the Object Spawner) that you can use in the metadata.

This environment variable can be set in the WorkspaceServer_usermods.bat file and used in the Workspace Server definition in SAS metadata. I just verified that by testing it on UNIX:

1. create environment variable in WorkspaceServer_usermods.sh:

export HOMEPATH=/somepath

2. set the navigation root in SAS metadata to

$HOMEPATH/$USER

and I ended up in /somepath/myusername when I opened the workspace server in EG.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3745 views
  • 0 likes
  • 2 in conversation