set more off capture log close capture log using mort1989.log, replace capture set mem 1000m ** -----------------------------------------------; ** This program reads the 1989 NCHS Multiple Cause of Death Data Data File ** by Jean Roth , jroth@nber.org , Tue Jun 24 09:39:34 EDT 2014 ** Please report errors to jroth@nber.org ** NOTE: This program is distributed under the GNU GPL. ** See end of this file and http://www.gnu.org/licenses/ for details. ** Run with do mort1989 ** -----------------------------------------------; ** The following line should contain ** the complete path and name of the raw data file. ** On a PC, use backslashes in paths as in C:\ ; local dat_name "/homes/data/mortality/1989/data/mort1989.dat" ** The following line should contain the path to your output '.dta' file ; local dta_name "/homes/data/mortality/1989/mort1989" ** The following line should contain the path to the data dictionary file ; local dct_name "mort1989.dct" ** The line below does NOT need to be changed ; infile using "`dct_name'", using("`dat_name'") clear note: by Jean Roth, jroth@nber.org Tue Jun 24 09:39:34 EDT 2014 compress saveold "`dta_name'",replace