How to import keyboard macros and abbreviations from a .kmf file?

Reply
Occasional Contributor
Posts: 9

How to import keyboard macros and abbreviations from a .kmf file?

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.

PROC Star
Posts: 1,233

Re: How to import keyboard macros and abbreviations from a .kmf file?

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. 

PROC Star
Posts: 7,363

Re: How to import keyboard macros and abbreviations from a .kmf file?

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?

Occasional Contributor
Posts: 9

Re: How to import keyboard macros and abbreviations from a .kmf file?

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.

PROC Star
Posts: 7,363

Re: How to import keyboard macros and abbreviations from a .kmf file?

Out of curiosity: in the sessions when you've loaded the abbreviations did you have "save settings on exit" checked in your preferences?

Ask a Question
Discussion stats
  • 4 replies
  • 742 views
  • 0 likes
  • 3 in conversation