I all, I have a problem. I do so as from a table with 100 rows bait a table with rows that have that condition. By turning the macro made sas erases and writes the new data set and then instead of 4 lines provided only one that comes out the end of the dataset. %macro xxx (); %do i=1 %to 24; data _null_; var="hour"||put(&i,z2.); call symput('var',var); run; data control1; set control; %put &var; if &var eq "AAA" or &var eq "BBB" or &var eq "CCC" then delete; %end; run; %mend xxx; %xxx; thank's a lot bie bie m
... View more