|
What about using PROC PRINTTO to redirect to files?
Perhaps in AUTOEXEC file:
proc printto log="whateveryouwant.log";
proc printto print="thesamefortheoutput.out";
run;
There you can also add some informations about time, date, ... to get other
logs for different runs with macro-variables...
On Wed, 21 Feb 2001 18:02:10 +0200, Arjen Raateland
<Arjen.Raateland@VYH.FI> wrote:
>In SAS8.1 in batch mode under Windows the LOG and OUTPUT files are
>supposed to get the name of the program to be run, but unfortunately it
>is shortened to 8 characters
>(like TIEDOS~2.LOG instead of Tiedostonluku_FTP-protokollan_avulla.log).
>
>When routing the LOG of a batch mode SAS session through the use of the
>-LOG options as follows
>
>(in a config file)
>
>-log 'temp\sas_batch_mode.log'
>
>the full name is used (temp is an NT environment variable, which this
>time is used without the bang prefix!), but now it's a fixed name.
>
>I'd like to have the full program name in the LOG and OUTPUT file names.
>Is this possible in any way? (Shortened names will probably just confuse
>the user.)
>
>TIA.
>--
>Arjen Raateland
>Finnish Environment Institute
>SAS Support
>phone +358 9 4030 0350
|