Thank you for replying back. I have tried what you suggested. I saved it as 'altkeys'. But when i start SAS and go onto tools > Keys.. it doesnt allow me to choose altkeys. It doesnt even have the option to choose. It just opens the dialogue box of dmkeys,
where is your SASUSER library pointing?
In that library, the catalog PROFILE is where these function key definitions are stored.
Often a sasuser.profile "CANNOT BE OPENED" at the start of a session. This kind of ERROR: message might explain why even when you save them, your preferences are not available in subsequent sessions.
There are many reasons why this error might occur.
Are you getting this error when you start SAS?
It means you have to save ALTKEYS somewhere else.
Possibly there is an option set like
Or you might be using a SASUSER library already allocated to another session.
Use taskmanager to check if there is another SAS session running in your desktop.
Libname myspace "!userprofile";
Then save your keys with something like
It would be a really good idea to discover why your PROFILE has become READONLY
Probably you have a path to which you can write that also persists (I wouldn't recommend using TEMP for that reason). In the SAS libraries window, create one NEW and tick the checkbox to assign library as SAS starts. Alternatively you can place a libname statement in the autoexec.SAS file.
Best: first discover why SASUSER.profile is read-only.
What path is assigned?
LIBNAME SASUSER LIST;
will reveal the path.
Have you more than one current SAS session running? (task manager)
How do you start a SAS session?
there are more diagnostic questions, but these might reveal the cause of the problem.