Statalist


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

st: -save- sometimes drops variables ???


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   <[email protected]>
Subject   st: -save- sometimes drops variables ???
Date   Mon, 24 Mar 2008 14:16:21 -0500

Hi - A colleague of mine recently installed Stata 10 for WIndows on his
PC. He wanted to run this  do-file that I had written. But seemly at
random, when -save, replace- commands were executed, sometimes a
variable in the data file (not always the same one) was mysteriously
dropped. The same do-file works perfectly well on my machine (both are
PC's running Windows XP). I cannot get this error to happen on mine. As
an example, a section of the code contains something like

use mdata
(has 10 variables, including blah)
replace blah = xxx
save,replace
(now it only has 9 variables)

[One of the variables in mdata mysteriously disappeared.]

This does not always happen, nor is the same variable always deleted.
Has anyone heard of this happening and/or  does anyone know why?

We tried updating STata 10 (today), that did not help.

Al Feiveson

*
*   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