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, is already up and running.

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

st: AW: Problem running Stata for Windows in batch mode

From   "Martin Weiss" <>
To   <>
Subject   st: AW: Problem running Stata for Windows in batch mode
Date   Fri, 5 Mar 2010 15:13:42 +0100


Following the instructions for "Method 1" in [GSW], C.6., I do get correct
behavior. The command prompt allows you to specify the dir where the log
file will end up. One temptation to resist is clicking on the icon in the
taskbar. This brings up the prompt about continuing for me. Just let it run
its course. In spite of a constant percentage being displayed in the icon in
the taskbar, it is working: The percentage is based on characters, so with a
loop as in my test do-file, it is bound to be "wrong" for a long time:

set rmsg off
set linesize 120

forv i=1/10{
	webuse productivity, clear
	xtmixed gsp private emp hwy water /* 
 */ other unemp || region: || state:, mle


Forgetting the last empty line is yet another pitfall, btw...


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Hans-Martin v.
Gesendet: Freitag, 5. März 2010 14:56
Betreff: st: Problem running Stata for Windows in batch mode

Dear statalisters,

Running Stata 10.1 on Windows (same behaviour on XP and 7) in batch mode
(either /e or /b flags) results in a pop-up window saying: " has been
interrupted. Would you like the batch job to continue?" Clicking on yes just
results in the same pop-up window coming back. Nothing happens in the
execution of the do-file.

The same code runs fine in non-batch mode, and in batch mode on MacOS or
Linux. Similar behaviour on Windows has been observed before
(, but I could
not find any follow-ups to that post. If anybody has found a way to fix this
in the meantime, a pointer to the solution would be greatly appreciated.

Many thanks,
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index