if you compiled the macro, then this line %in(ABC_Place_check,113,Place_formats); would call the macro, substituting values of program=ABC_Place_check , z =113 , data=Place_formats 1) define the Workshop Libname Libname Workshop "\\Pathway\data"; 2) run the sas program \\Pathway\ABC_Place_check.sas %include "\\Pathway\&program..sas"; 3) append the datasets FMT1_ , FMT2_, .... , FMT113_ together and save to a dataset called PLACE_FORMATS in the workshop libname. data workshop.&data;
length LABEL $ 200;
set %do i=1 %to &z;
fmt&i._ %end;;
by FMTNAME START END LABEL;
run; Try running the statement; options symbolgen mlogic mprint; before you run existing macro code, then look in the log . It should help you understand what is going on .
... View more