Thanks to Kit Baum, new versions of the -dolog- and -dologx- packages,
described as below on my website, are now available for download from
SSC. In Stata, use the -ssc- command to do this.
The -dolog- and -dologx- packages both now have on-line help files with
the .sthlp extension, in accordance with Stata 10 practice, to prevent
the problems that some operating environments have with the old Stata 9
.hlp extension. The Stata 9 and 8 versions of -dologx-, and the Stata 9,
8, 7 and 6 versions of -dolog-, can still be downloaded from my website
by typing, in Stata,
net from http://www.imperial.ac.uk/nhli/r.newson/
and selecting the subfolder corresponding to the required Stata version.
Best wishes
Roger
Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/
Opinions expressed are those of the author, not of the institution.
------------------------------------------------------------------------
-------------
package dolog from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
-------------
TITLE
dolog: Execute commands from a file, creating a log file
DESCRIPTION/AUTHOR(S)
dolog (like do) causes Stata to execute the commands stored in
filename
just as if they were entered from the keyboard, and echos the
commands as it
executes them, creating a log file filename.log. If filename is
specified
without an extension, filename.do is assumed. If filename is
specified with
an extension, then the log file will have .log as an additional
extension
(so dolog will not overwrite the original do-file). Arguments are
allowed
(as with do), but the nostop option is not available.
Author: Roger Newson
Distribution-Date: 15january2008
Stata-Version: 10
INSTALLATION FILES (click here to
install)
dolog.ado
dolog.sthlp
------------------------------------------------------------------------
-------------
(click here to return to the previous screen)
------------------------------------------------------------------------
-------------
package dologx from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
-------------
TITLE
dologx: Multiple versions of dolog for executing certification
scripts
DESCRIPTION/AUTHOR(S)
dologx (like dolog) causes Stata to execute the commands stored in
a do-file
named filename.do as if they were entered from the keyboard, and
echos the
commands as it executes them, creating a log file filename.log.
The dologx
package contains multiple versions of dolog, written in multiple
Stata
versions, intended for use when running certification scripts.
Usually, a
do-file should contain a version statement at or near the top, so
it will
still run in the Stata version in which it was written, even if
the user runs
it under a later version of Stata. Certification scripts are an
exception to
this rule, because they are run under multiple Stata versions, to
certify
that the package being tested works under all of these versions. A
certification script therefore should not contain a version
statement at the
top. The version of Stata under which it run will therefore be the
version in
force in the program that calls it, even if that program is dolog.
The
standard version of dolog should therefore not be used to run a
certification
script, and the user should use the dologx package instead, using
dolog6 to
run it under Stata 6, dolog7 to run it under Stata 7, and so on.
Author: Roger Newson
Distribution-Date: 16january2008
Stata-Version: 10
INSTALLATION FILES (click here to
install)
dolog6.ado
dolog7.ado
dolog8.ado
dolog9.ado
dolog10.ado
dologx.sthlp
------------------------------------------------------------------------
-------------
(click here to return to the previous screen)
*
* 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/