Is there a way to have a batch file output to a log file whether it was successful or not...and to also print the date and time in the log file...also is there a way to send a notification to myself ...
We use a "Logon Batch file" that runs for all users when they login to the domain. It has a whole bunch of stuff in it, including a BUNCH of "ifmember statements" cascaded with "if not errorlevel 1 ...
contains information about the processing of SAS statements. As each program step executes, notes are written to the SAS log along with any applicable error or ...
directing your SAS log or procedure output to an external file instead of to their default destinations (see Directing Output to an External File at SAS Invocation) directing the log or output both to ...