Macro Logfile, download from http://home.hccnet.nl/jim.groeneveld/software/SASmacro/LogFile.zip
It automatically (and optionally) saves the .log (and the .lst) in a file with the date and time in its name. It also returns the current datetime value to be used in the calling program for any other file name or purpose.
Regards - Jim. -- Jim Groeneveld, Netherlands
harvested from SAS-L by:
--macro maven == the radical programmer 20:57, 1 February 2011 (UTC)