Statalist The Stata Listserver


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

st: recast question


From   buddyb <[email protected]>
To   [email protected]
Subject   st: recast question
Date   Wed, 21 Jun 2006 19:12:16 -0700 (PDT)

Hi everyone,

I have another simple question.  I've checked all that
STATA manuals, and have read up on recast, but I am
still having problems.  When I imported my data, STATA
defaulted a string variable to str80 - so it cut off
some of my responses.  I wanted to change the storage
type to str200. I've used this command:

. recast str100  q5mtype

q5mtype:  str100 invalid
r(109);


While Stata will allow me to decrease the size (i.e. I
could type: . recast str79 q5mtype, and it will accept
me, but it will not allow me to increase the str size.
 Any ideas?

Thanks,
Buddy


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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/



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