为什么我的宏没输出内容啊?
%macro fetobs(dataset,id); %let ope=%sysfunc(open(&dataset.,i)); %let rc=%sysfunc(fetchobs(&ope,&id));%if &rc =-1 %then %put***end of data set has been reached*****; %if&rc>0 %then %put %sysfunc(sysmsg());%mend fetobs;%fetobs(dataset=sashelp.class,id=10);为什么我的宏没输出内容啊? sysfunc(open(&dataset.,i));这里写错了,直接打开这个数据集就行了不用加i
页:
[1]