マクロウィンドウのコマンドラインに入力された、認識されない最後のコマンドが格納されます。
| 種類: | 自動マクロ変数(読み込みおよび書き込み) |
%macro start;
%window start
#5 @28 'Welcome to the SAS System'
#10 @28 'Type QUIT to exit';
%let exit = 0;
%do %until (&exit=1);
%display start;
%if &syscmd ne %then %do;
%if %upcase(&syscmd)=QUIT %then %let exit=1;
%else %let sysmsg=&syscmd not recognized;
%end;
%end;
%mend start;