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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: New vesrion of -dologx- on SSC


From   Roger Newson <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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 http://www.imperial.ac.uk/nhli/r.newson/

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


--
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
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

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

-----------------------------------------------------------------------------------
package dologx from http://www.imperial.ac.uk/nhli/r.newson/stata12
-----------------------------------------------------------------------------------

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: 10august2011
      Stata-Version: 12

INSTALLATION FILES                                  (click here to install)
      dolog6.ado
      dolog7.ado
      dolog8.ado
      dolog9.ado
      dolog10.ado
      dolog11.ado
      dolog12.ado
      dologx.sthlp
-----------------------------------------------------------------------------------
(click here to return to the previous screen)
*
*   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