hi I hav a dataset which has both numericals and character . When numeric ala I want to change to character but when character leave as it is . When 1 I want to be replaced with FL when it is AZ leave as it is in STate variable ssample dataset ddata test1; input code zipcode; 1 78240 2 23239 3 45670 AL 34567 AZ 43678 ; run; proc sql; create te table xy as select code , pincode, case code when 1 then 'FL' when 2 then 'CA' when 3 then 'SC' else code end as State; from test1; quit; but but this syntax is error
... View more