yeah...i got the output..thanks...but just a quick question (I was missing that base table should have same schema similar to data from which i'm appending) : proc sql; select count(*) into : obs from sashelp.vtable where libname = 'ABC'; %LET OBS=&OBS; SELECT catx('.', 'abc', memname) INTO : TAB1-:TAB&OBS FROM sashelp.vtable where libname = 'ABC'; QUIT; %MACRO append; %DO i=1 %to &obs; proc append base=tot_comb data=&&tab&i force;run; %end; %mend; %append; proc print data=tot_comb; run;
... View more