if you want to find dat in a certain dataset, try this
%macro getvarlst(inds=, string=);
proc sql;
create table varlst as
select distinct name as variable
from dictionary.columns
having memname=upcase("&inds") and kindex(name,"&string");
quit;
%mend;
%getvarlst(inds=a, string=dat);


雷达卡

京公网安备 11010802022788号







