It worked for the OP question, because their library was WORK and they get to determine the Correct Answer. That doesn't mean its correct for your situation or all situations, or even the best answer. The modification to Dreamer's answer to make it applicable to your situation is below. PROC SQL; SELECT catx('.', libname, MEMNAME) INTO : MEMNAMES SEPARATED BY ' ' from dictionary.tables where libname='<<LIBNAME>>';quit; DATA WANT; SET &MEMNAMES.; RUN;
... View more