01-26-2017 08:52 AM
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?
01-26-2017 08:58 AM
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.
01-26-2017 12:11 PM
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.
01-26-2017 12:38 PM
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.
If you really cannot get it work then open a ticket with SAS support. http://support.sas.com
01-26-2017 12:44 PM
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. :?
01-26-2017 01:33 PM
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).
01-26-2017 04:24 PM
This sounds a lot like you aren't actually writing any preference to the profile.
Proc options group=envfiles;
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".