Hi all,
I regularly program .do files that take hours or days to run.  Sometimes they return error messages and I have to debug them.  I wonder if there is a way to (1) output a date and time at the time an error message appears (which invariably stops my .do file from continuing), and (2) close a log file that was started (preferably including the error message and date/time; this allows me to access the log file remotely to check its status)...
As always, I have used "findit" to no avail.
CM
*
*   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/