| Capturing generated code from macros |
|
|
|
|
SAS Tip #137 You can use the mfile option to capture SAS code generated by macro programs. This can be very useful when trying to debug complicated macros. The following 2 macros make this process a little easier by enabling you to begin capturing code and then to view the code captured. When run interactively under windows it will even display the code produced in SAS. This code can then be loaded into SAS and run to assist in debugging. Capture_Mprint
Close_Mprint
Test Code
Tested under SAS 9.1.3 SP4 using Windows XP Professional |
|
| Last Updated ( Thursday, 12 October 2006 ) |













