The problem is the in the bolded line you use lowercase instead of uppercase. You use this proc sql noprint; select catt("_",name,"=input(",name,",?? 32.);", "if not missing(_",name,") then do;", name,"='numb';end;") into :missings separated by " " from dictionary.columns where libname="work" and memname="test" ; : Instead of this proc sql noprint; select catt("_",name,"=input(",name,",?? 32.);", "if not missing(_",name,") then do;", name,"='numb';end;") into :missings separated by " " from dictionary.columns where libname="WORK" and memname="TEST" ; quit; Please try it and let us know 🙂
... View more