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]

RE: st: Can I run Stata commands in background?


From   "Feiveson, Alan H. (JSC-SK311)" <alan.h.feiveson@nasa.gov>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Can I run Stata commands in background?
Date   Wed, 25 May 2011 07:55:41 -0500

Yes, but if both programs are writing to the same file a crash could result. For example, both programs might have a hard-coded output file (intended to be temporary) with the same name. Of course this could be avoided by use of -tempname-.

Al Feiveson

 
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten Buis
Sent: Wednesday, May 25, 2011 6:50 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Can I run Stata commands in background?

On Tue, May 24, 2011 at 11:22 PM, Nobuaki Michihata wrote:
> I'm looking for the way to run Stata commands in background.
> I found the following article, but I would like to do it within Stata.
> http://www.stata.com/support/faqs/mac/advanced8.html#batch
>
> I mean I would like to run two different programs (commands) at once,
> not in order.

You can open two instances of Stata and run one .do file in one
instance of Stata and another in the other instance of Stata.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   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/

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