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

st: New version of -dolog- and -dologx- on SSC


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: New version of -dolog- and -dologx- on SSC
Date   Thu, 06 Jan 2005 15:03:27 +0000

Hello All

Thanks to Kit Baum, new versions of the -dolog- and -dologx- packages are now available for download from SSC. In Stata, use the -ssc- command to do this.

-dolog- and -dologx- are described as below on my website. The new version of -dolog- is in Stata Version 8. (Stata 7 and 6 users can still download the older versions of -dolog- from my website.) The new version of -dologx- now gives the creation date for -dolog8.ado- if the user types

which dolog8

I would like to thank Danielle Ferry for reminding me that -dolog- had not been updated to Stata 8 on SSC, and for informing me that this was causing some mysterious failures in the Stata 8 version of -svyset- when she included that command in the do-file.

Best wishes

Roger


--------------------------------------------------------------------------------------
package dolog from http://www.kcl-phs.org.uk/rogernewson/stata8
--------------------------------------------------------------------------------------

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: 05january2005
Stata-Version: 8

INSTALLATION FILES (click here to install)
dolog.ado
dolog.hlp
--------------------------------------------------------------------------------------
(click here to return to the previous screen)

--------------------------------------------------------------------------------------
package dologx from http://www.kcl-phs.org.uk/rogernewson/stata8
--------------------------------------------------------------------------------------

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: 05January2003
Stata-Version: 8

INSTALLATION FILES (click here to install)
dolog6.ado
dolog7.ado
dolog8.ado
dologx.hlp
--------------------------------------------------------------------------------------
(click here to return to the previous screen)

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/

Opinions expressed are those of the author, not the institution.

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index