Statalist The Stata Listserver


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

st: Re: Making a unique log file


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: Making a unique log file
Date   Tue, 25 Apr 2006 17:31:59 -0400

Cmdlog using "D:\statalogs\comlog${S_DATE}"


----- Original Message ----- From: "Donald Spady" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 25, 2006 5:21 PM
Subject: st: Making a unique log file



I want to make a command log file using cmdlog, but I want it to be unique
every time I begin Stata. Right now my command is

cmdlog using "D:\statalogs\comlog",append

I want it to read something like
Cmdlog using "D:\statalogs\comlog"+"$S_DATE"

or some other unique identifier but every time I try it, the program aborts
when it gets to the '+' sign. Can someone please tell me how to get this to
work.

Many thanks in advance.

Donald W Spady MD, MSc
Departments of Pediatrics and Public Health Sciences
8226B, Aberhart Centre 1
University of Alberta
Edmonton, Alberta,
CANADA
T6G 2J3

780-407-1244: Office
780-407-7136: FAX

Nature has no reset button!



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