@complex wrote:
I can offer an interpretation of the authors question since i too am up against what i believe to be a similar problem. I have a 3,000 line SAS program to "decipher" with macro code, macro variables and many base SAS statements. Is there an easy way to "strip" away the codes intimidating complexity in such a manner that by doing so enables better comprehension of the codes "flow". Similar to an initial "big picture" expo that zooms toward the "little picture". Thank you.
First run the program with the MPRINT option turned on. This will show you the lines of SAS code that the macro generated.
If you really want to understand what the macro statements are doing on their way to generating that SAS code you might also want to turn on the SYMBOLGEN and/or MLOGIC options. But if the macro is at all complex that can lead to a very clutter SAS log, so use that as a step of last resort.
... View more