BookmarkSubscribeRSS Feed
abcd123
Fluorite | Level 6

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.

3 REPLIES 3
CTorres
Quartz | Level 8

Make sure you have WRITE access/permission to your SASUSER library.

abcd123
Fluorite | Level 6

Thanks. How can I make sure I have the WRITE access?

CTorres
Quartz | Level 8

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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

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.

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
  • 3 replies
  • 1069 views
  • 0 likes
  • 2 in conversation