i looked at the answers for this topic which have very few character values to format into numerical values. i have more than 200 character values to format with their distinct id. and the distinct id with their character names are present in another sas dataset. so is there any other way to do it rather than writing the code like:
value $county ' Carroll County'= 034
' Chatham County'= 011
' Fulton County'= 213
' DeKalb County'= 002
.
.
.
' Chattahoochee County'=510; ;
run;
i'm using sas 9.3