I'd like to share a nifty SAS option that will help tremendously with debugging SAS macros. The mprintNest system option will show nesting information in your log. This is a big improvement over mprint that showed which macro you were in, but made it nearly impossible to tell which macros may have contained the macro call.
With mprintNest you can see exactly where you are in the executing macro stack.
You must use mprintNest with mprint. It cannot be set on it's own.
Thursday, July 24, 2008
SAS Macro Nesting
Subscribe to:
Post Comments (Atom)
cool option
ReplyDeleteHello Stephen,
ReplyDeleteQuite good option for SAS Macro Nesting