Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "David Fredericks" <david.fredericks.au@gmail.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: logout Obs nos out of range error |
Date | Thu, 28 Oct 2010 21:57:37 +0530 |
I am definitely a beginner at STATA. I have been using the logout command to export results to excel file formats. A typical command is: logout, save(OwnPaddyRainFedFreq) excel replace:tabulate ntpc_a_domain OwnRainfedPaddy, chi2 miss nofreq row I have a master file that calls a sequence of do files which contain various analyses and the logout commands. The problem is that the master do files have stopped working - they return the error "Obs. nos. out of range r(198)". I tracked this error down to the logout command. Everything works fine if I disable the logout command The strange thing (to me) is that (1) The master do files worked perfectly when I last used them (2) if I open the individual do files and run them with ctrl D they work perfectly. It is only when called from another do file that they fail. I have disabled the logout commands and now everything works but I would like to fix the problem properly David ______________________________ David Fredericks Colombo, Sri Lanka _____________________________ * * 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/