Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Executing do-file yields no output
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Executing do-file yields no output
Date
Mon, 9 May 2011 10:29:36 +0100
This is precisely as intended. -do- rather than -run- is silent. What
output would you expect from these commands if they work as intended,
i.e. with generating error messages?
Nick
Please note the request to use real names on Statalist.
http://www.stata.com/support/faqs/res/statalist.html#tojoin
On Mon, May 9, 2011 at 10:18 AM, George Mailbox <[email protected]>
> When I execute a do file (i.e. do do-file as opposed to run do-file),
> Stata (version 10.1) loads the data and runs through all commands
> without detecting errors but only displays the do-file commands
> preceded by ">", i.e. it does not display the results in the command
> window and thus not in the log-file either. When I copy and paste the
> commands into the command window, then Stata displays the results,
> i.e. the code is correct.
> I suspected some "suppress output" function was activated but I
> haven't been able to find any such thing.
>
> The do-file is a self-written plain do-file, not code written in a program.
> The procedural commands that precede the data manipulation commands
> are standard by my reckoning:
>
> ##############################
>
> clear all
>
> capture log close
>
> set more off
>
> version 10.1
>
> use filename.dta
>
> log using filename.log, text replace
> ##############################
>
> I would be grateful for any advice or suggestions.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/