Hello, I have searched and have been unable to find a solution. This feels like it should be very simple but I am unable to resolve. Problem: I have many scheduled programs that output logs via a proc print with their respective date & time stamps to use for general debugging. I run programming to read in the logs and look for keywords. I would like make a change to output TWO logs. One as I have been but an alternate log, without the date & time stamp, to a different directory. Please let me know how obvious this solution is...thank you. Sample Code: %let date_time = %sysfunc(compress(%sysfunc(putn(%sysfunc(datepart(%sysfunc(int(%sysfunc(datetime()))))),yymmdd10.)),'-')) %sysfunc(compress(%sysfunc(translate(%sysfunc(putn(%sysfunc(timepart(%sysfunc(int(%sysfunc(datetime()))))),time8.)),'0','')),':'));
proc printto log='g:dir\logs\test1.log&date_time..log' new ;
/*need a output to another directory, without the datetime stamp*/
run;
data temp;
infile DATALINES dsd missover;
input a b c d;
CARDS;
1, 2, 3, 4
, 3, , 5
, 3
;
run; Log:
... View more