COOL,谢谢老大!
但是如果numRecordCount和numBaseTableCount都是由select count(*) into :numRecordCount from TableA和select count(*) into :numBaseTableCount from BaseTable得来的,结果似乎还是不对。有何良策?
data a;
do x=1 to 12;
output;
end;
run;
data b;
do y=1 to 48;
output;
end;
run;
proc sql;
select count(*) into :aa from a;
select count(*) into :bb from b;
quit;
%let cc=%sysevalf((&aa/&bb)*100);
%put &cc;
[quote="shiyiming":c7695]COOL,谢谢老大!
但是如果numRecordCount和numBaseTableCount都是由select count(*) into :numRecordCount from TableA和select count(*) into :numBaseTableCount from BaseTable得来的,结果似乎还是不对。有何良策?[/quote:c7695]
log中是否显示:
WARNING: Apparent symbolic reference NUMRECORDCOUNT not resolved.
....等等?