BookmarkSubscribeRSS Feed
Ronein
Onyx | Level 15

Hello

I used SAS in my computer at work and I have defined abbreviation macros.

 changed my work location and use a new PC  and I want to transfer the abbreviation macros that I have defined to SAS in my new PC.

What is the way to do it please?

3 REPLIES 3
Kurt_Bremser
Super User

Did you use the autocall facility on your old PC, or did you use the macros "manually" in your programs with %INCLUDE?

Did you have a standalone installation, or a client-server, and how is your new SAS environment set up?

ChrisNZ
Tourmaline | Level 20

Export and import them in a kmf file. Many resources online.

"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 am unsure you search much before you ask questions here.

ballardw
Super User

It the OLD system export the abbreviation definition. This creates a text file of specific type and structure. Save/copy the file you export to a place your new system can access then use the Import to bring your abbreviations into the new system.

 

The Tools>Macros>Keyboard Macros menu will show Export and Import option buttons.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1194 views
  • 4 likes
  • 4 in conversation