The log and cmdlog commands are rclass, type return list after -log-
or -cmdlog- and you will see that r(filename) has what you might want.
Michael Blasnik
[email protected]
----- Original Message -----
From: "Buzz Burhans" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 06, 2003 6:02 PM
Subject: st: displaying log and cmdlog filenames??
> I made a little utility ado to "information stamp' my logged output (Stata
> 8). I have used the creturn macros to display date, time, active
> directory, filename, and last file save date; I would like to have the log
> and cmdlog files listed as well, conditional on their being open. It
> doesn't look like log or cmdlog filenames are accessible with creturn
> macros, is there a way I can get their names to display? Or perhaps such
a
> utility already exists/ I didn't find one with "findit".
>
> Thanks
>
> Buzz Burhans
> Department of Animal Science
> Cornell University
>
*
* 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/