I would like to get help to trasform this code in macro fuction: Data my; Set table; Page1=scan(file1, -1, ','); Page2=scan(file2, -1, ','); Page3=scan(file3, -1, ','); Run; Thanks. My macro is finished with error 68-185: the function file is unknown, or cannot be accessed %macro name; Data my; Set table; Array file[3] $50 file1-file3; %do i=1 %to 3; Page(&i)=%scan(file(&i),-1,','); %end; %mend; %name; Is there another way?
... View more