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.
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 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.