<>
I am not particularly proud of this, but here is a solution that does put
the value in there:
*******
sysuse auto, clear
tempname hdle
capt erase info.dta
//for the first car in the dataset
//depends on -sort- order...
keep in 1
decode foreign, gen(strforeign)
drop foreign