That's right. You cannot have a label that long. So:
. tostring var, g(var2)
var cannot be converted reversibly; no generate
. tostring var, g(var2) force
var2 generated as str11
var2 was forced to string; some loss of information
Perhaps -mvdecode- would be the way to go. So:
mvdecode var, mv(999999999999)
then, to use codebook or whatever,
mvencode var, mv(999999999999)
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/