Yes, compress(x, , 'kn'); this should still work for stripping out the characters, but I don't think there is an easy way of translating the characters. You could create a replace dataset, something like: TEXT_FROM TEXT_TO Å A ø 0 ... Then have a code generator: data _null_; set replace end=last; if _n_=1 then call execute('data want; set have; var1=tranwrd("'||strip(text_from)||'","'||strip(text_to)||'";'); else call execute('tranwrd("'||strip(text_from)||'","'||strip(text_to)||'");'); if last then call execute('run;'); run; You would only need to add any new records to that replace table (which could be in Excel...) rather than updating your code each time. Note the code above will create a datastep with each tranwrd statement from the dataset replace.
... View more