Define the $CITY. format. The special codes BR1, BR2, and so on, are converted to the names of the corresponding cities. The keyword OTHER specifies that values in the data set that do not match any of the listed city code values are converted to the value INCORRECT CODE .
value $city 'BR1'='Birmingham UK' 'BR2'='Plymouth UK' 'BR3'='York UK' 'US1'='Denver USA' 'US2'='Miami USA' other='INCORRECT CODE'; run;