Hi, I'm trying to set a variable reading from a dataset some clumns value that should contains strange char as a single quote (') or &. example: data inputds; aaa = "aaa'aaa"; bbb = 'bbb'; ccc = "ccc'ccc'ccc"; ddd = 'dd&dd'; run; proc sql noprint; select aaa, bbb, ccc, ddd into :vara, :varb, :varc, :vard from inputds; quit; If I run %put &vara; %put &varb; %put &varc; %put &vard; Sas does not work. Do there is a way to populate some variables in a safety way independently by what is is contains? Many thanks Regards, Antonio
... View more