Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Stata in unix


From   Christopher F Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Stata in unix
Date   Sat, 27 Jul 2002 08:04:22 -0500

--On Saturday, July 27, 2002 2:33 -0400 Chris wrote:

i'm trying to run a stata *.do file in batch mode from a unix shell
script.  my problem is that the stata intro screen appears in my
nohup.out file & freezes on a "--more--" cue before my program has a
chance to run & execute the "set more off" line.  does anybody know how to
get around this feature?
Assume foo.do...

$ stata -b do foo

(Solaris)
$ batch
stata -b do foo
ctrl-D
With the -b (batch) flag Stata knows you're not there to interact with the console.

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




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