Valid in: | Configuration fileOPTIONS windowOPTIONS statementSAS invocation |
PROC OPTIONS GROUP= | MACRO
LOGCONTROL |
Type: | System option |
Default: | NOMLOGICNEST |
See: | The SAS Log in SAS Language Reference: Concepts |
%macro outer; %put THIS IS OUTER; %inner; %mend outer; %macro inner; %put THIS IS INNER; %inrmost; %mend inner; %macro inrmost; %put THIS IS INRMOST; %mend; options mlogic mlogicnest; %outer
MLOGIC(OUTER): Beginning execution. MLOGIC(OUTER): %PUT THIS IS OUTER THIS IS OUTER MLOGIC(OUTER.INNER): Beginning execution. MLOGIC(OUTER.INNER): %PUT THIS IS INNER THIS IS INNER MLOGIC(OUTER.INNER.INRMOST): Beginning execution. MLOGIC(OUTER.INNER.INRMOST): %PUT THIS IS INRMOST THIS IS INRMOST MLOGIC(OUTER.INNER.INRMOST): Ending execution. MLOGIC(OUTER.INNER): Ending execution. MLOGIC(OUTER): Ending execution.
%macro outer; %put THIS IS OUTER; %inner; %mend outer; %macro inner; %put THIS IS INNER; %inrmost; %mend inner; %macro inrmost; %put THIS IS INRMOST; %mend; options nomlogicnest; %outer
MLOGIC(OUTER): Beginning execution. MLOGIC(OUTER): %PUT THIS IS OUTER THIS IS OUTER MLOGIC(INNER): Beginning execution. MLOGIC(INNER): %PUT THIS IS INNER THIS IS INNER MLOGIC(INRMOST): Beginning execution. MLOGIC(INRMOST): %PUT THIS IS INRMOST THIS IS INRMOST MLOGIC(INRMOST): Ending execution. MLOGIC(INNER): Ending execution. MLOGIC(OUTER): Ending execution.