*! nc151 version William Gould 23feb1996 *! written by wwg on 15june1995 *! modified by ESH on 22feb2001 for version 7. program define doanl version 7.0 capture log close set more off clear program drop _all log using `1', replace text * display "Analysis do-file `1' run on $S_DATE at $S_TIME" capture noisily do `1' local myrc = _rc * display "Analysis do-file `1' ended on $S_DATE at $S_TIME" log close exit `myrc' end exit