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

st: True batch mode

From   "Russell V. Lenth" <>
Subject   st: True batch mode
Date   Wed, 09 Apr 2008 18:17:50 -0500

When I try to run Stata in batch mode on Windows...

DOS> wstata /e 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?]

Russell V. Lenth, Professor
Department of Statistics
& Actuarial Science (319)335-0814 FAX (319)335-3017
The University of Iowa
Iowa City, IA 52242 USA

* For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index