Assigning a User-defined Macro to a Function Key

From sasCommunity
Jump to: navigation, search

by Mary F. O. Rosenbloom and Kirk Paul Lafler

ABSTRACT Are you entering one or more of the same SAS Display Manager System (DMS) commands repeatedly during a session? The DMS offers a convenient way of capturing and saving frequently entered commands in a user-defined macro, and then saving the macro as a function key of your choosing. Are you typing SAS code for data exploration during program development or validation, only to delete it soon afterwards? If you are, then this code can be placed in a macro, too, and assigned to a function key. This paper illustrates the purpose and steps one would use to assign a user-defined macro to a function key.

This paper was presented at the Western Users of SAS Software (WUSS) 2011 Conference in San Francisco, California.

We look forward to your comments!