BookmarkSubscribeRSS Feed
BTAinRVA
Quartz | Level 8

Several times I've changed my preferences so that the Recently Used Files List is set to the maximum of 30. But it doesn't seem to carry over from one session to the next. Anyone have an idea why?

 

Thanks,

 

Brian

8 REPLIES 8
Tom
Super User Tom
Super User

Can you be more specific about what user interface you are talking about? SAS Display Manager? Enterprise Guide?  SAS/Studio? Other?

 

If you are using Display Manager then check and make sure where your SASUSER library is pointing.

If you have launched multiple SAS sessions at the same time then SAS might have had to point it to WORK and so it will throw away the changes.

BTAinRVA
Quartz | Level 8

Tom,

Thanks for the reply! I'm just using the regular SAS interface version 9.4. I go to Tools -> Options -> Preferences to change the Recently Used Files to 30. I have only one SAS session running. During that session any programs I open show up near the bottom of the File menu. But when I close that session and start a new one, no programs are on the File menu.

Tom
Super User Tom
Super User

I am pretty sure that list of files is saved in your SASUSER.PROFILE catalog.

 

Check the top of your SAS log and make sure that SAS has not given you an error message about getting write access to your SASUSER.PROFILE catalog.

NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.

Possible causes

  • More than one SAS session running.  
    • If your SASUSER libref is on a network path then perhaps the sessions are on different machines
  • RSASUSER option set at startup.  Launch a session using -NORSASUSER option and see if it remembers files used in that session.
  • Corrupted SASUSER.PROFILE catalog file.  If so then delete (or just rename it) and SAS will make a new one.
  • Perhaps you don't have permission from the operating system to write to the SASUSER.PROFILE catalog physical file.

 

If you really cannot get it work then open a ticket with SAS support.  http://support.sas.com 

ballardw
Super User

If you are using the display manager in Base SAS you want to make sure that on the General tab in the Preferences section the box for "Save settings on exit" is checked.

BTAinRVA
Quartz | Level 8

Ballardw,

 

Indeed that box wasn't checked. So I checked it, closed my session, reopened SAS and the changes weren't saved. No files are showing up in the File menu and when I open the Preferences window the Save Settings on Exit box is unchecked. :?

ballardw
Super User

Did reset the recently used file list settings as well and then click on the "OK" button at the bottom of the tab?

 

 

BTAinRVA
Quartz | Level 8

Yes, I've changed both preferences and clicked the OK button. I close and re-open SAS and the revert to the default (4 recently used files and unchecked Save Changes on Exit).

ballardw
Super User

This sounds a lot like you aren't actually writing any preference to the profile.

 

Try running:

Proc options group=envfiles;

run;

 

And see if you find "NORSASUSER" or "RSASUSER". If you see RSASUSER that is setting the profile to read only.

 

If that is the case then you will need to find the configuration file and edit the option text to set it to NORSASUSER. This option may only be changed at start up so you would need to shut down SAS, edit the config file and save, restart SAS and set the options. Then do the shut down and restart to see if the options "took".

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 8 replies
  • 2917 views
  • 2 likes
  • 3 in conversation