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: change log writing in unix batch mode?


From   M Hollis <m73hollis_stata@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: change log writing in unix batch mode?
Date   Sat, 6 Mar 2010 11:34:28 -0800 (PST)

I've been working with a large dataset and submitting jobs on a unix system through batch mode. I've done this in the past, both using batch mode on a PC and in grad school they had set up a special unix queuing system for Stata. I know for sure with the PC batch mode and I think also with the system in grad school the log file that was automatically created in batch mode would be saved to the file line by line as it was processed. This was convenient because it meant that while the do-file was still running I could open up the log file in a text editor and check on it's progress (and opening the file never seemed to interfere with Stata's ability to continue writing to that file).

When I'm running it now, though, the log file becomes a temporary file with 0K size until the dofile is done and then the entire log is written to the file. Does anyone know if there's a relatively easy way to change this? I can check on the progress in other ways, e.g. check on the status of output files created along the way, but if there's a simple fix if would be nice to have that ability again.

Thanks,

MNH



      
*
*   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