Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: save9 and c(changed)=1 status


From   Marco Ercolani <[email protected]>
To   "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index