[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
Lee Sieswerda <Lee.Sieswerda@tbdhu.com> |

To |
"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: length of a variable name |

Date |
Tue, 15 Jul 2003 18:37:13 -0400 |

Oops, in the first sentence I meant that the limit of a variable *label* is 80 characters, not the variable name. Lee -----Original Message----- From: Lee Sieswerda [mailto:Lee.Sieswerda@tbdhu.com] Sent: Tuesday, July 15, 2003 6:34 PM To: Statalist (statalist@hsphsun2.harvard.edu) Subject: st: length of a variable name According to -help limits-, the maximum length of a variable name is 80 characters (I use Intercooled Stata 8, but the limit is the same in Stata/SE). One would think that this would be enough. However, I have a dataset in SPSS format wherein the variable labels are the full text of a survey question. This often exceeds the 80 character limit. The longest variable label in the dataset is 210 characters long. I am working on this dataset with a number of other people, all of whom use SPSS, which has a much higher limit. I much prefer Stata, so I always convert the SPSS dataset to Stata format to work on it. However, the 80-character variable label limit means that when I convert back to SPSS format and send the altered dataset back to my colleagues, the variable labels are all truncated at 80 characters (embarassing, as I have been proselytizing my benighted SPSS-using colleagues for some time). I could work around this by re-labeling after I convert back to SPSS format, but with a couple of hundred variables, this is a pain in the neck. I wonder how much support there would be for increasing the variable label limit to, say, 244 characters? Best, Lee Sieswerda * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**st: Re: Matrix***From:*sgsong@park.ccpr.ucla.edu

**st: Matrix***From:*sgsong@park.ccpr.ucla.edu

**Re: st: RE: length of a variable name***From:*Nick Winter <nw53@cornell.edu>

- Prev by Date:
**st: length of a variable name** - Next by Date:
**st: annoying out-of-office replies** - Previous by thread:
**st: length of a variable name** - Next by thread:
**Re: st: RE: length of a variable name** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |