Date: Fri, 16 May 1997 00:25:56 GMT
Reply-To: Allan Page <pageal@TOTAL.NET>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Allan Page <pageal@TOTAL.NET>
Subject: Re: Saving SAS log from program
You can use another DM command to save the log (I tested it). It looks
dm 'log; file test.log';
Alderton, David <dla5@CIDHIV1.EM.CDC.GOV> wrote in article
> Folks, occasionally I have some fairly large jobs to run (that take 3-8
> hours) and would like to start them as I walk out the door. For security
> reasons everyone is logged out by the system at some odd (but late) time
> which means I lose the SAS log and/or the printed output from a job. I
> request and receive an exception to the policy which gets me around the
> problem. However, I know that I can issue a DM command from a SAS job
> (e.g., 'DM clear log') but was unable to figure out how save the log
> output. Ideally, I would like to run the job, save the log, save any
> output, then terminate SAS to clean up the temp files. Any suggestions?
> I'm running SAS 6.11 under Win 3.11.
> Thanks for any suggestions, David.
> David L. Alderton, Ph.D.
> Centers for Disease Control and Prevention
> HIV/AIDS Surveillance Branch
> Atlanta, GA -- DLA5@CDC.gov