マクロのネスト情報をMLOGIC出力としてSASログに表示するかどうかを指定します。
該当要素: | 構成ファイル、OPTIONSウィンドウ、OPTIONSステートメント、SAS起動時 |
カテゴリ: | マクロ |
PROC OPTIONS GROUP= | MACRO |
LOGCONTROL | |
種類: | システムオプション |
デフォルト: | NOMLOGICNEST |
参照項目: | The SAS Log (SAS言語リファレンス: 解説編) |
%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.