我在调试以下问题时遇到了麻烦proc sql
:
%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.