I try to use batch mode in stata
But I often encounter this error:
It pops up a dialog box and asks me to choose yes or no. If I click yes, it will continue to execute until I get the desired result, but if I choose no, it will end. I want to know, why does this dialog box appear, and how can I set it to choose yes by default?
If the content of my do file is as follows:
Then this dialog box will not appear.
If the content of my do file is as follows:
Then this dialog box will appear.
Is there anything special about the most basic reg command?
Code:
D:\s18\StataMP-64.exe /b do "F:\OneDrive\N\1mpg.do"
Code:
"1mpg.do" was interrupted. Would you like the batch job to continue? yes or no?
If the content of my do file is as follows:
Then this dialog box will not appear.
Code:
sysuse auto,clear global Ys "mpg price" forval i=1/300 { foreach Yi of global Ys{ dis "i" } }
Code:
sysuse auto,clear global Ys "mpg price" forval i=1/300 { foreach Yi of global Ys{ reg "Yi" trunk length turn displ gear forei } }
Is there anything special about the most basic reg command?
Comment