Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: New vesrion of -dologx- on SSC

From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New vesrion of -dologx- on SSC
Date   Tue, 16 Aug 2011 12:16:22 +0100

Thanks once again to Kit Baum, a new version of the -dologx- package is now available for download from SSC. In Stata, use the -ssc- package to do this, or -adoupdate- if the user already has a version of -dologx-.

The -dologx- package is described as below on my website, and is used for executing a certification script, under various versions of Stata, to produce a text log file. (A certification script should not contain a -version- statement, as it is supposed to be tested under multiple versions of Stata.) The new version has been updated to Stata Version 12, and can now be used by Stata Version 12 users for executing certification scripts under Stata Versions 12, 11, 10, 9, 8, 7 and 6.

Users of Stata versions 11, 10, 9 or 8 can still download the old versions of -dologx- for their Stata versions from my website by typing, in Stata,

net from

and selecting the subdirectory for the Stata version required and downloading -dologx-. For instance, a Stata Version 10 user who wants to execute certification scripts under Stata Versions 10, 9, 8, 7 and/or 6 should select the -stata10- subdirectory and download the version of -dologx- found there.

Note that each of the versions of -dologx- on my website has an on-line help file written for its own version of Stata, and also ado-files for executing certification scripts in each version of Stata from its own version back to Version 5. As a general principle, the Stata version of a package is the highest Stata version required for using any of its component files.

Best wishes


Roger B Newson BSc MSc DPhil
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
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page:
Departmental Web page:

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

package dologx from

dologx: Multiple versions of dolog for executing certification scripts

dologx (like dolog) causes Stata to execute the commands stored in a do-file named 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: 10august2011
      Stata-Version: 12

INSTALLATION FILES                                  (click here to install)
(click here to return to the previous screen)
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index