Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: save9 and c(changed)=1 status


From   Marco Ercolani <m.g.ercolani@bham.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: save9 and c(changed)=1 status
Date   Thu, 14 Apr 2011 12:41:32 +0100

Dear Statalisters,

How do I change Stata's creturn status from:
 c(changed)=1
to 
 c(changed)=0
without actually saving the dataset currently in memory?


(I ask because I am refining my save9 ado script and when 
Stata 10 or 11 saves the dataset in the Stata 9 format the 
status remains at c(changed)=1 and this means that attempts 
to exit after "save9" produces:

. save9 MyData
This is Stata 11.2 software:
file MyData.dta saved

. exit
no; data in memory would be lost

The same problem exists when using Stata's "saveold" command.)

yours,
 Marco.



Dr Marco G. Ercolani
Department of Economics
University of Birmingham
Edgbaston, B15 2TT
Departmental: www.economics.bham.ac.uk/people/Academic_Staff/ercolanim.shtml
Personal: www.socscistaff.bham.ac.uk/ercolanim/
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index