BookmarkSubscribeRSS Feed
ardobbins
Obsidian | Level 7

Hello,

 

We recently attached a DAS / SAN to our server for WORK / UTILOC. We'd like to map some users to the new SAN, for testing, while keeping other users remaining at the old location. 

 

We use EG 7.1 with SAS 9.4. Is it possible to create profiles for users and have each profile pointing to a different WORK directory? Anything other than having the user type WORK = 

 

Any tips? 

 

Thanks,

Andrew

4 REPLIES 4
Kurt_Bremser
Super User

Since those locations are set at statup, you need to modify the configuration.

 

On UNIX, the environment variable SASCFGPATH contains the names of .cfg files that SAS reads the configuration from. Adding a .cfg file in user's home directories might provide a method to set individual locations.

 

On 9.2. that variable is set in WorkspaceServer.sh after sourcing WorkspaceServer_usermods.sh, so sadly one cannot do the customization in usermods, but needs to modify a file that is not intended to be changed by the user (as a SAS hotfix might overwrite WorkspaceServer.sh).

Reeza
Super User

Can the USER library be leveraged here and assigned for certain users? 

 

If a library called USER exists, unless WORK is specifically referenced one level datasets will be stored in USER. 

Thalone
Calcite | Level 5

Aroo!

keane76
Obsidian | Level 7

Hi ardobbins 

 

If you are using SAS 9.4 and you are on GRId you could also try Grid option sets or point to a different work location when you are using the SASGSUB command.

 

http://support.sas.com/documentation/cdl/en/gridref/64808/HTML/default/viewer.htm#n0dmh9glhm6k21n1pa...

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1334 views
  • 2 likes
  • 5 in conversation