Date: Wed, 28 Apr 1999 11:05:38 -0400
Reply-To: "King, Raymond" <raymondk@MOCR.OAPI.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "King, Raymond" <raymondk@MOCR.OAPI.COM>
Subject: Re: automatically saving SAS log,
output; automatically erase log and output screen
Content-Type: text/plain
It sounds like you need to run your SAS program in batch mode instead of
interactively.
You are probably typing your program in the Program Editor, and then doing a
submit.
Try this instead:
Save your file ["c:\sas\program1.sas"], and then from Windows Explorer
"right-click" on the file and select "Batch Submit 6.12".
Your Log and Output files will be automatically saved in the same
directory with same filename and extensions .log and .lst.
HTH,
Raymond
> -----Original Message-----
> From: Lyman Wu [SMTP:lwu@PBDSINC.COM]
> Sent: Wednesday, April 28, 1999 1:33 PM
> To: SAS-L@UGA.CC.UGA.EDU
> Subject: automatically saving SAS log, output; automatically erase
> log and output screen
>
> hello, everyone:
>
> I am using SAS 6.12 on windows. Is there any way (presetting) that I can
> automatically save the sas log and output, after I run the sas program? To
> put it more concretely, suppose I have a sas program saved as
> "c:\sas\program1.sas", I run it. I want to press one key or something to
> save the log as "c:\sas\program1.log", and output as
> "c:\sas\program1.lst".
>
> One more step forward, can I press one key to go back to program editor
> and erase the log and output screen, assume I have saved them.
>
> Thanks.
>
>
> Lyman Wu
|