| Debugging parts of macro code |
|
|
|
|
SAS Tip #138 There are a range of options which are useful to use when debugging macros. An easy way to use these options on a particular part of macro code is to use the DEBUGON macro (below). This will turn on the useful options while saving the current values of the options it is changing. You can then use DEBUGOFF to restore the original values of those options when you have finished debugging. Debugon
Debugoff
Sample Code
Tested under SAS 9.1.3 SP4 using Windows XP Professional |












