Hi Guys,
I have been facing an issue with SAS 9.3 on windows server 2008. Eerytime I restart my session I loose all my keyboard abbreviations. The profile catalog is always there so I can only assume keyboard abbreviations are not saved in sasuser profile catalog. I'm aware that I can go to tools and import the kmf file but is there any way to do this through editor - by using proc import for example? so I can put the code in my autoexec.sas ?
Alternatively can someone point me to a file or a catalog where the information is saved? I have looked all over but all in vain. It doesn't seem to be a part of user profile or registry.
Profile would have been my first thought as well. Any chance your profile is set to read only? Can other changes (window colors or whatever) be saved in your profile?
Might want to check DM commands to see if it's possible to import the .kmf file that way.
According to the following post the abbreviations are actually stored in the Window's registry: LISTSERV 16.0 - SAS-L Archives
However, that doesn't address why you aren't able to save them. Is it possible that you have multiple SAS instances running when you've tried to save them?
Registry and Profile catalog were my first thoughts .. and I have tried saving them every which way.. I guess in SAS 9.3 they are saved in some other file. Profile catalog is only saving the changes I make in Preferences dialogue box.
Out of curiosity: in the sessions when you've loaded the abbreviations did you have "save settings on exit" checked in your preferences?
Hi, I was searching for the answer to this question and found it elsewhere in the SAS online documentation: http://support.sas.com/rnd/base/topics/abbreviations/
"To import a KMF file, select Tools > Keyboard Macros > Macros. A window opens, and at the bottom is a button for IMPORT. Select the button and navigate to where you stored the file. SAS reads it automatically."
I tried this on my machine (swapped PCs at work) and it was successful. I noted that I could select all my keyboard macros / abbreviations and export them as a single KMF file. SAS appears to have imported them correctly into the new environment.
Hi,
THX
i will test this with my colleges, if this could solve the problem to share some standard macro and code snippets in the team.
greetings
Jan
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 how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.