|
Answer» There are a number of SAS System options that users can USE to troubleshoot macro problems and issues. Macro-option results are automatically shown in the SAS Log. - MEMRPT: Displays memory usage statistics in the SAS logs.
- MERROR: SAS will issue a warning if we attempt to invoke a macro that SAS does not recognize. Whenever there is a misspelling or if a macro is not defined, warning messages are displayed.
- MLOGIC: SAS PRINTS details about the macro EXECUTION in its log. In short, it identifies and displays micro logic.
- MPRINT: When you execute a macro CODE, SAS doesn't show it in the LOG file, but when you use the MPRINT option it displays all the SAS statements of the resolved macro code. With the MPRINT option, one statement per LINE is printed along with the corrected macro code.
- SYMBOLGEN: It prints a message in the LOG file about how a macro variable is resolved. Specifically, a message is printed in the LOG whenever a macro variable is resolved.
|