Date: Wed, 20 Dec 2000 15:49:42 +0000
Reply-To: Richard.Cooke@GROUPAMA.CO.UK
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Cooke Richard <Richard.Cooke@GROUPAMA.CO.UK>
Subject: Re: Schedule a SAS job on NT workstation
Content-Type: multipart/alternative;
The way I've used the NT scheduler is to run the 'AT' command from a DOS
window.
ie AT hh:mm /interactive CMD /c c:\sasprogs\sasbatch.cmd
The file sasbatch.cmd would contain all the parameters necessary to run
your program.
ie. "C:\progra~1\sasins~1\sas\v8\sas.exe" -CONFIG
"C:\progra~1\sasins~1\sas\v8\SASV8.CFG" -SYSIN "c:\sasprogs\xyz.sas"
I didn't know about the schedule wizard........thanks Patrice !
Richard Cooke
Patrice Bourdages <PBourdages@IAG.QC.CA>
20/12/00 15:26
Please respond to PBourdages
To: SAS-L@LISTSERV.UGA.EDU
cc:
Subject: Re: Schedule a SAS job on NT workstation
Simple (but not quite obvious at first site).
Open the "Workstation" icon, choose "Scheduled task" (or something like
that). I'm working on a french NT 4. I'm purely translating first hand.
The right term might not be like this one but at least you'll be very
close.
From there, create a new sheduled task... I've encountered some problem at
first but it was the way to call up the parameters for the task that was a
little bit confusing. Here's a sample of my startup code from the task
property:
"D:\Program files\SAS Institute\SAS\V8\SAS.EXE"
-autoexec=s:\concorde\autoexecnuit.sas -altlog=s:\concorde\altlog.txt
Hope this is helpfull enough for your need.
Sincerely yours,
\\\|///
\\ - - //
( o o )
+-----oOOo-(_)-oOOo------------+--------------------------------+
| Patrice Bourdages | |
| SI Analyst | Tel : (418) 650-4600 x3216 |
| Industrielle Alliance, | Fax : (418) 650-4825 |
| Assurances auto & habitation | E-mail: pbourdages@iag.qc.ca |
+--------------Oooo------------+--------------------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
-----Message d'origine-----
De : Reiling Lee [ mailto:reiling.lee@DWP.NET <mailto:reiling.lee@DWP.NET>]
Envoyé : 20 décembre, 2000 10:03
À : SAS-L@LISTSERV.UGA.EDU
Objet : Schedule a SAS job on NT workstation
Hi,
I remember there was a question regarding scheduling a SAS job on Windows
environment but I can not find the e-mail. I apologize for asking the same
question again.
Can someone please let me know how I can set up a batch job on NT
workstation (not server) or Windows 2000 machine? I have tried AT command
but I keep getting ERROR on status. And I don't really know how to check
what kind of the error it is. Please let me know if there is a better
place
to post this kind of questions.
Thanks,
[text/html]