BookmarkSubscribeRSS Feed
cdw90nl
Calcite | Level 5

Hi, 

I'm a newbie. We are using SAS 9.4 and VA 7.4. 


Some users are using EG and would like to save data in the sasuser library. In EG I right clicked on the library en checked the properties of the library. The properties were Readonly=Yes and Temporary=Yes. I want to set the readonly to "NO" and temporary to "YES". My assumption is that the readonly will make it possible to users to write data to the library and the second one should make the data persistent(After closing a session the data should stay there). And I understand the risk that after an installation or upgrade that the user can lose his data. 

I found an article online and did what was mentioned:
http://support.sas.com/kb/51/421.html# . I commented out "-rsasuser". After the change one of the users opened the sasuser library and the readonly option was changed to "NO"(Me happy). Unfortunaely the temporary options wasn't changed. i read that the default value should be temporary=NO. How can I change this. I checked the config files and couldn't find anything regarding the temporary option. Any suggestions? 

 

I checked the config file ..SAS\Config\Lev1\SASAp\sasv9.cfg and saw nothing regarding the temporary option being set to No. Any suggestion? 

2 REPLIES 2
tsap
Pyrite | Level 9

The SASUSER system option specifies the SAS library that contains a user's Profile catalog. The default value for SASUSER is defined in the SAS configuration file, which you can change when you install SAS. If you do not use the SASUSER system option when you invoke SAS (either in the configuration file or as part of the SAS command), the Sasuser library is set to be equal to the Work library, which is temporary.(http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0dhdzi696bo51n1ug...)

 

Depending on your environment:
UNIX:
(https://documentation.sas.com/?docsetId=hostunx&docsetTarget=p02kxlfiy9thfvn1p5n5jshku6rs.htm&docset...)

 

WINDOWS: http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0dhdzi696bo51n1ug...)

 

z/OS: (https://documentation.sas.com/?docsetId=hosto390&docsetTarget=p1r7gutyzjyhbmn15buajch8v9nc.htm&docse...)

Tom
Super User Tom
Super User

Note that storing data into SASUSER is a problem since it is normally a single location per user, but a single user could be running 2,3,25 SAS programs at the same time.

 

One trick to get around having RSASUSER set and still be able to write to that FOLDER is to make a NEW libref that points to the same location.

libname wsasuser "%sysfunc(pathname(sasuser))";

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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