1
我有麻煩調試如下因素proc sql
:如何從proc sql向本地SAS分配聚合值?
%local datasetCount;
%let datasetCount = 0;
proc sql;
select count(*)
from path.dataset_list
into: &datasetCount.; * I also tried into: datasetCount;
quit;
什麼是我的語法錯誤?我得到以下
ERROR 22-322: Syntax error, expecting one of the following: ;, ',', ANSIMISS, CROSS, EXCEPT, FULL,
GROUP, HAVING, INNER, INTERSECT, JOIN, LEFT, NATURAL, NOMISS, ORDER, OUTER, RIGHT,
UNION, WHERE.
ERROR 76-322: Syntax error, statement will be ignored.