yzzhang 发表于 2011-9-8 14:41 
libname a 'd:\';
data a.m;
x=1;
请教一下:
"proc sql;
create table dict_dsnm(where=(libnm=upcase("&libnm."))) as select distinct
memname as dsnm, libname as libnm
from dictionary.members where memtype='DATA';
select count(distinct dsnm) into :ds_n from dict_dsnm;
quit;“中,“memname as dsnm, libname as libnm
from dictionary.members where memtype='DATA';“的用法都是固定的么?
还有就是我看你的宏变量末尾都加了个点,这是必须的么?