Hi Statalist,

I was trying to output a file which showcase all values (regardless of whether that value has a label) of a variable.

Here are the codes I used:

use data, clear
uselabel, clear
save label, replace

however, this output only shows the values that have labels. There are some numeric variables in my data, for example: variable urban, it could have the following values
values label
1 urban
2 rural
99 (NO LABEL)


I wonder how could I also output the value "99"? Any suggestions are much appreciated!

Thank you in advance!