Statalist The Stata Listserver


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

st: -save- with emptyok


From   Partha Deb <partha.deb@hunter.cuny.edu>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: -save- with emptyok
Date   Sat, 10 Feb 2007 23:13:46 -0500

Hi all,

I'm having trouble getting -save- to work with emptyok in the way I think it should. Here's an example.

. save temp, emptyok
(note: dataset contains 0 observations)
file temp.dta saved

. use temp.dta

. append using auto.dta
no dataset in use
r(3);


Shouldn't I be able to append? What am I doing wrong? I'm using Stata 9.2. Thanks in advance for your help.

cheers,

Partha

--
Partha Deb
Department of Economics
Hunter College
ph: (212) 772-5435
fax: (212) 772-5398
http://urban.hunter.cuny.edu/~deb/

Emancipate yourselves from mental slavery
None but ourselves can free our minds.
- Bob Marley

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index