Hello, i want to run a macro with 2 variables, first one with period from 201801 to 201901 and the second with a table name: %macro do_list; %do I=201801 %to 201812; %do j in ("Mag1","Mag2","Mag2"); %import(luna=&I.,vendor=&J.); %put &I. &J.; %end; %end; %import(luna=201901,Vendor=Mag1); %import(luna=201901,Vendor=Mag2); %import(luna=201901,Vendor=Mag3); %mend; %do_list; i'm trying this but i have the following error : ERROR: An unexpected semicolon occurred in the %DO statement. A dummy macro will be compiled. ERROR 180-322: Statement is not valid or it is used out of proper order. could you help with a solution ? thank you for your help!
... View more