38%macro mp_lib2inserts(lib
49select distinct lowcase(memname)
52 from dictionary.tables
53 where upcase(libname)=
"%upcase(&lib)"
57%let flavour=%upcase(&flavour);
58%
if &flavour ne SAS and &flavour ne PGSQL %then %
do;
59 %put %str(WAR)NING: &flavour is not supported;
65%
do x=1 %to %sysfunc(countw(&memlist));
66 %let ds=%scan(&memlist,&x);
67 %mp_ds2inserts(&lib..&ds