Quick code for getting macro names from windows library


filename loop pipe “ls SASEnvironment/SASCode/Jobs/RMFI/*.sas”;
data loop;
infile loop pad missover;
input buffer :$150.;
macroname=scan(buffer,-2);
run;