Statalist The Stata Listserver


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

RE: st: RE: Preserve


From   "Steichen, Thomas J." <SteichT@rjrt.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Preserve
Date   Fri, 21 Apr 2006 15:11:10 -0400

Fred Wolfe writes (in part):
> 
> What I wanted to do was to run program A which issues a preserve; run 
> another program and then be able to restore.
> 
> What I have to do to get the behavior I want is:
> 
> Save a file
> make changes
> run other programs
> reload the saved file  - a manual preserve and restore.
> 

You can accomplish this by writing a "wrapper" ado that issues the preserve 
and then calls "A" and your other ado in turn.  This does not let you 
interactively manipulate the data though.

It may be that you can also do this with a wrapper do file (I have
not tested this idea).

Tom




-----------------------------------------
CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be
unlawful.


*
*   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