When I run the below code on SAS enterprise Guide 5.2, I am able to convert all the SAS datasets to Text files. But when I run the same code on SAS 9.2 it throws me below error: Error : "OUTPUT" is not a valid name warning : " Apparent symbolic reference B not resolved" ERROR : invalid data set name OUTPUT warning : " Apparent symbolic reference B not resolved" Code : libname OUTPUT 'P:\sample\SAS_check'; proc sql ; select memname into :b1 -: b3 from dictionary.tables where libname = 'OUTPUT'; quit; %macro txt; %do i=1 %TO 3; proc export data=OUTPUT.&&b&i outfile="P:\sourcing\SAS_check\&&b&i...txt" dbms=tab replace; run; %end; %mend txt; %txt IF I want to implement the above code in SAS 9.2 what all changes do I need to make from the above code? Thanks
... View more