As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Creating Display Manager Abbreviations and Keyboard Macros for the Enhanced Editor

From sasCommunity
Revision as of 12:34, 19 September 2017 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The boss wants all of your SAS® programs to have a header section of comments. She wants this section to be uniform across all of your programs, she wants it to have lots of stuff in it, and you don't like to type. How can you automatically insert uniform blocks of text into your program with a minimum of typing and without using the paste buffer? The answer lies in the use of Abbreviations and Keyboard Macros. Abbreviations allow you to associate any amount of text with a designated word or set of keystrokes. Type in the designated word, press the tab key and the desired text is substituted into your program. In the example shown below, you will see how typing the word 'HEADER' inserts a series of comment statements that become the standard header block for a program.

Online Materials

View the pdf for this paper.
Learn more about keyboard macros and Abbreviations in this article which also contains links to a number of uploaded KMF files.

Contact Info

Please check out my user page. You can also email me.