Big Data

SAS System Options: The True Heroes of Macro Debugging

Date Added: Mar 2010
Format: PDF

It is not uncommon for the first draft of any macro application to contain errors. However, without debugging options, it is almost impossible to locate and correct all the errors in an application. Therefore, the first step in writing a macro application is to turn on the debugging options. This paper is intended for programmers at all levels who write macro code, and it concentrates primarily on three SAS system options that one can use to debug macros: MLOGIC, SYMBOLGEN, and MPRINT (the superheroes). In addition, this paper includes some less common options (the superhero sidekicks) that also display valuable information in the SAS log.