Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: five logs?


From   "Jesper K. Hansen" <[email protected]>
To   [email protected]
Subject   Re: st: five logs?
Date   Mon, 23 Jun 2008 21:33:42 +0200

Martin,

use the logfile handle, when you are dealing with multiple logs (see
-help log-), e.g.:

----------------------------------------
log using main_log , name(main) append

log using my_prog  , name(log1) replace
log using my_prog2 , name(log2) replace

... etc.

log close log1
log close log2
log close main
----------------------------------------


/Jesper K. Hansen



On Mon, Jun 23, 2008 at 17:40, Martin Weiss
<[email protected]> wrote:
> Dear Statalisters,
>
> maybe I am getting this wrong, but - h log - says that I can have five logs
> open at any one time. I have a cmdlog and a smcl log running as default in
> the profile.do but when I attempt to open another log file I get error
> -r(604)- "log file already open". Does this behavior contradict the help
> file mentioned?
>
> Martin Weiss
> _________________________________________________________________
>
> Diplom-Kaufmann Martin Weiss
> Mohlstrasse 36
> Room 415
> 72074 Tuebingen
> Germany
>
> Fon: 0049-7071-2978184
>
> Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130
>
> Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131
>
> SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945
>
>
>
> *
> *   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/
>
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index