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
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.
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.
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
If you really cannot get it work then open a ticket with SAS support. http://support.sas.com
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.
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. :?
Did reset the recently used file list settings as well and then click on the "OK" button at the bottom of the tab?
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).
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".
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.