Building an Advanced SAS Macro Language Toolset with User-Developed Macro Functions (Hands-On)
Presented: Friday September 6, 2019, 1:30 p.m.-5:00 p.m.
Art Carpenter’s publications list includes five books, and numerous papers and posters presented at SAS Global Forum, SUGI, and other user group conferences. Art has been using SAS since 1977 and has served in various leadership positions in local, regional, national, and international user groups. He is a SAS Certified Advanced Professional Programmer, and through California Occidental Consultants teaches SAS courses and provides contract SAS programming support nationwide.
The development and use of the SAS macro language to create macro systems and macro applications requires the use of sophisticated tools that perform specific operations. Generally the most flexible of these tools will be user written single purpose macro functions. The creation of macro functions is not difficult, if you know the basic rules and understand the primary principles involved.
This tutorial will explore the fundamentals of building macro functions, their implementation through macro libraries, as well as the sources of information that allow these tools to work effectively and intelligently.
During the discussion of these examples a variety of side topics, which will include the use of SAS supplied macro functions and statements, will also be explored.
Take your use of the SAS macro language to new levels by learning how to extend your use of user developed macro functions.
In this half day hands-on course we will use the SAS macro language to:
- Review the use of %SYSCALL and %SYSFUNC
- Create user defined functions
- Establish an autocall macro library
- Use established metadata functions
- Control various aspects of directories and files
Intended Audience Level: Intermediate to Advanced
Delivery Method: Hands-on workshop style
Class Material: Course notes and class programs