Bookmark and Share

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

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

Re: st: Stata Temp File issue

From   Sergiy Radyakin <>
Subject   Re: st: Stata Temp File issue
Date   Wed, 15 Dec 2010 20:16:09 -0500

Dear John,
while Stata creates temporary data files ST_* upon your request of
tempfile, preserve, and restore, it
also creates tempfiles for its own use. The third letter denotes the
purpose of the file:

STG*.TMP files are related to Graphs (every graph window creates a new
file of this kind);
STD*.TMP files are related to Do-files Editor; (you see something like
. do "R:\TEMP\STD0b000000.tmp" in the output window when you click
<do>-icon in the do-files editor)
STi*.TMP files are related to Viewer / Help files (one per each viewer window)
STS*.TMP data snapshot files (one per each snapshot)
STJ*.TMP files are not 100% clear, but most probably contain a
collection of variables

Normally all of them should vanish after Stata is closed.

Best, Sergiy Radyakin

On Wed, Dec 15, 2010 at 9:41 AM, John C. Vernaleo
<> wrote:
> Just to close the loop on this issue, manaully changing the DOS
> environment variable TEMP before calling stata allowed me to run multiple
> copies of Stata9 on Windows7 without the different copies stepping on each
> others temp files (ST_*) and causing strange failures.
> My one remaining (related) question is, what are files of the form:
> STG00000001.tmp
> I seem to have one of those left behind in each of my stata temp
> directories even though none of my stata jobs failed.
> -------------------------------------------------------
> John C. Vernaleo, Ph.D.
> Research Associate
> Ada Investment Management
> 152 West 57th Street, 20th Floor
> New York, NY 10019
> -------------------------------------------------------
> This communication is for informational purposes only. It is not intended to
> be, nor should it be construed or used as, financial, legal, tax or
> investment advice or an offer to sell, or a solicitation of any offer to
> buy, an interest in any fund advised by Ada Investment Management LP, the
> Investment advisor.  Any offer or solicitation of an investment in any of
> the Funds may be made only by delivery of such Funds confidential offering
> materials to authorized prospective investors.  An investment in any of the
> Funds is not suitable for all investors.  No representation is made that the
> Funds will or are likely to achieve their objectives, or that any investor
> will or is likely to achieve results comparable to those shown, or will make
> any profit at all or will be able to avoid incurring substantial losses.
>  Performance results are net of applicable fees, are unaudited and reflect
> reinvestment of income and profits.  Past performance is no guarantee of
> future results. All f!
> inancial data and other information are not warranted as to completeness or
> accuracy and are subject to change without notice.
> Any comments or statements made herein do not necessarily reflect those of
> Ada Investment Management LP and its affiliates. This transmission may
> contain information that is confidential, legally privileged, and/or exempt
> from disclosure under applicable law. If you are not the intended recipient,
> you are hereby notified that any disclosure, copying, distribution, or use
> of the information contained herein (including any reliance thereon) is
> strictly prohibited. If you received this transmission in error, please
> immediately contact the sender and destroy the material in its entirety,
> whether in electronic or hard copy format.
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index