Hi,
I have created a Windows Batch file to execute the sas code, I want to append the DateTimestamp to the Log file name. Like "Name:Datetime.Log"
I have created below command in batch file.
"C:\Program Files\SAS\SASFoundation\9.2\sas.exe" -autoexec 'C:\Program Files\autoexec2.sas' -sysin "C:\Program Files\Usage per Channel.sas" -log "C:\Program Filesfile://\\GL1015018\SAS\Usage per Channel.
log"
When I tried to do it using Proc Print to in .SAS code and removed -log command in batch file, batch did not run properly.
Any help would be appreciated.
Thanks,
Nikhil