Hello
I use to define my own keys using method as described in here (SAS Key Definitions). It is actually pretty straightforward and works fine on my previous sas version. However, as I recently reinstall sas(9.3), I got following error message:
ERROR: File I/O Error. Unable to permanently save KEYS settings.
ERROR: Cannot open entry DMKEYS.KEYS for write access - catalog SASUSER.PROFILE is opened for
read access.
as a result, the defined keys will NOT be saved.
I googled on the internet,;but there seems no related information. Can anyone help me to solve this problem? Thanks a lot.
Make sure you have WRITE access/permission to your SASUSER library.
Thanks. How can I make sure I have the WRITE access?
It depends on where your SAS Foundations was installed and how it was set up. In a Windows Server? In a UNIX Server? In your Windows Workstation?
The SASUSER Library is located in a disk Directory which by definition must be unique for every SAS user. In this directory SAS saves changes to the configuration (like the KEYS in your case) in a sas file named SASUSER.PROFILE
Sometimes if the same user opens two sessions of SAS, the first session takes write access to SASUSER and the second can only access SASUSER as Read-only. In this case the user gets the followng messages in the log:
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.
So in short I suggest you to Ask your SAS Administrator.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.