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


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

st: Executing do-file yields no output


From   George Mailbox <george.mailbox@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Executing do-file yields no output
Date   Mon, 9 May 2011 10:18:33 +0100

Dear all,

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.

Many thanks for your consideration.

Best wishes,
George

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


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