|Date: ||Wed, 17 Jun 1998 23:37:08 +0100|
|Reply-To: ||"Andrew J. L. Cary" <ajlcary@CARYCONSULTING.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>|
|From: ||"Andrew J. L. Cary" <ajlcary@CARYCONSULTING.COM>|
|Subject: ||Re: batch processing on NT server|
It is simple:
(1) Ensure that the "schedule" service is running on your server.
(2) Use vi or other editor on NT to build a batch file that looks like
c:\sas\sas -sysin c:\yourpath\yourfirstbenchmark.sas
c:\sas\sas -sysin c:\yourpath\yoursecondbenchmark.sas
save the batch file as say 'c:\temp\mybenchmarks.bat'
(3) Use the AT command to launch the batch job (you will have to
have administrator priviledges on NT to use AT)
at 1400 c:\temp\mybenchmarks.bat
At 1400 your job will launch and away you go.Your machine will of course
to be on, but you can be doing what ever you like.....
the log and list files will be in the c:\temp directory.
Terry Hyslop wrote in message <3587E4DD.479D@mail.tju.edu>...
>We will be installing a trial version of SAS(v 6.12) on an NT server.
>We would like to test simulation runs we currently background process on
>a Unix machine. How can I set up processes to run on the server, not on
>my PC, that is similar to the way I currently run on Unix ? Currently
>on Unix I set up a batch file with commands in it, such as,
> sas prog1.sas
> sas prog2.sas
>then I run myprog.bat in the background by:
> myprog.bat &
>Has anyone out there done this or something similar on NT?
>Thanks in advance,
>Thomas Jefferson University