Statalist


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

st: preserving tempfiles when new do file is called


From   "Buzz Burhans" <buzzb3@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: preserving tempfiles when new do file is called
Date   Sat, 29 Mar 2008 10:36:27 -0400

Can a -tempfile- created in one do file be preserved for availability to a
do file called from the first do file? 

It seems that when I create a -tempfile- in a given do file say do1.do, and
that do file calls another do file (do2.do), the tempfile created in do1.do
is not available to the second do file (do2.do) even if the second do file
is called from the first and the program returns to the first when the 2nd
finishes running.

Is there a way to preserve a tempfile in this situation so that it remains
available for use by another do file called from the first?

Buzz Burhans, Ph.D.

Dairy-Tech Group

Twin Falls, ID
Phone: 208-320-0829
Fax: 208-735-1289 

So. Albany VT
Phone: 802-755-6842

Email: buzzb3@verizon.net


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