![]() | ![]() | ![]() | ![]() |
You can remove macro code by using the MFILE and MPRINT system options. The MFILE option routes the code that is generated by the macro (the MPRINT output) to a specified file. The code in this file can then be executed and debugged without the presence of the macro code.
The syntax is as follows:
FILENAME MPRINT 'pathname and name of file'; OPTIONS MPRINT MFILE;
%YOUR_MACROThe fileref has to be MPRINT. The pathname must include the name of the external file where the code that is generated by the macro is to be stored. After this program finishes executing, the code in the new file can then be executed and debugged without the presence of the macro code.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | All | n/a |