sas adv 130題中的第80題,用程序跑了下,確實(shí)是rc取值為low,但我不明白為什么,明明totalobs是大于10的呢,不應(yīng)該是high嗎?求大神指點(diǎn)!
data prosale;
input sale;
datalines;
1
2
4
6
7
8
8
5
4
4
4
4
4
4
5
;
run;
%let rc=begin;
%macro test;
data out;
set prosale nobs=totalobs;
if totalobs>10 then do;
%let rc=high;
end;
else do;
%let rc=low;
end;
run;
%put rc=&rc;
%mend;
%let rc=before execution;
%test