Hi guys, I'm a new sas user and I wanna learn somethings from you. is any possible that I retain the variables in the new variable as like the list, step by step, for example: I have four variables as below: dep = var1, var2, var3, var4 The Macro I wrote %do i=1 %to %sysfunc(countw(&dep)); %let dep_nxt = %scan(&dep, &i); data dset_temp; set &dset; if &dep_nxt =. then delete; run; *(I wanna clean each independent variables, not cleaning all at same time); first times : new_dep = var1_name second times : new_dep= var1_name var2_name third times : new_dep = var1_name var2_name var2_name . . and there is a space between each name thank you very much
... View more