|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: True batch mode
When I try to run Stata in batch mode on Windows...
DOS> wstata /e do testfile.do
... it runs in the background, returning a new DOS prompt before the job
is done. That's fine if I'm doing it manually, but I want to run Stata
as part of a process, and the next step needs Stata to be finished
creating its output before it starts. I suppose I could have Stata
write some new file at the very end, but then if there's an error, that
file will never get written. Ideas?
[BTW, the context here is Windows, version Stata/IC, but I need to
extend to other platforms. e.g., looks like maybe this isn't a problem
on Linux -- just don't put an ampersand?]
Russ
--
Russell V. Lenth, Professor
Department of Statistics
& Actuarial Science (319)335-0814 FAX (319)335-3017
The University of Iowa [email protected]
Iowa City, IA 52242 USA http://www.stat.uiowa.edu/~rlenth/
*
* 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/