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]
st: Executing do-file yields no output
From
George Mailbox <[email protected]>
To
[email protected]
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/