Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Sergiy Radyakin <serjradyakin@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: error message Stata13 - file corrupt |
Date | Tue, 4 Mar 2014 15:39:06 -0500 |
Hello, This looks like any of the following: -- a file transfer error, ==>retry from the source; -- unsafe device disconnect, ==>dismount device properly next time, data is lost; -- power failure that prevented Stata from completing the file write operation, ==>data is lost; -- unknown bug that nobody has seen so far==> very interested. In any case the error (in Stata 13) signifies that the file appears to be a valid Stata-13 dataset, but at some point it is corrupt (you get a different error if the file is not from Stata-13). The big question is: has Stata 13 produced the file (which version)? or some sort of alternative tool? If alternative, contact the author, but tell us what the tool is. If Stata, try to replicate, tell us which version. Stata 13 had a bug in writing dta files in specification 117 (read the -use13- description for details). That bug was not fatal, which didn't result in loss of data, but prevented reading it in some cases. More info on request. Actually you can try -use13- on your data to see what error message you get (it is unlikely to read anything, but the message could be more informative). So tell us the history of the file (how it was produced) to get specific help. If you believe the file is intact and produced to the specification, contact StataCorp for support. Hope this helps, Sergiy Radyakin On Tue, Mar 4, 2014 at 9:23 AM, Ejebu, Ourega-Zoe <oejebu@abdn.ac.uk> wrote: > Hi there, > I tried to open my Stata file and then I got the following error message: > > dta file corrupt > The file does not record <varnames> where expected. Either the file was written > incorrectly in the first place or the file has become corrupted. > > Please, could you tell me how can I retrieve my file > Thank you > > Kind Regards, > > Ourega-Zoé Ejebu > Research Fellow > Health Economics Research Unit (HERU) > Polwarth Building > University of Aberdeen > Tel: 01224 437893 > Email: oejebu@abdn.ac.uk > > > > The University of Aberdeen is a charity registered in Scotland, No SC013683. > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/