I have a bunch of countries. They are coded as numbers (values) in an integer variable. For each value, the country name has been attached as value (label).

It's a sizable dataset and I need to do some manipulations based on country.

Initially, I didn't notice that what appear as values are actually labels, and hence did a
Code:
tab country
and wrote commands based on country names, e.g.
Code:
replace countrycode = "ALB" if country == "Albania"
Got a type mismatch and only then realized that country is not string.

So, now, I want to change the commands to reflect country (number, as opposed to name). But how do I figure out which number (value) corresponds to which country name (label). Is there a tab command that will show me a "dictionary" of values and labels?