| Date: | Tue, 21 Nov 2000 18:56:14 -0800 |
| Reply-To: | "Terjeson, Mark" <TERJEMW@DSHS.WA.GOV> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Terjeson, Mark" <TERJEMW@DSHS.WA.GOV> |
| Subject: | Re: sas cron job |
|
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
Hi Steve,
I use unix and pc interactively and
pc scheduled batch all the time.
I haven't done unix batch for a couple
years, but anyone can correct my
memory and my laziness to go fetch
the manuals.
You should be safe to drop the:
-terminal -batch -dmsbatch -fsdevice x11
stuff.
-nodms (turns off the display manager)
-nologo (turns off the logo)
-sysin myprog.sas (-sysin preceeds the source code to run)
You could also not use the:
1>/data/admin/process.out 2>&1
and
-altlog /data/admin/process.log
I use -log instead of the -altlog or the stdout direction.
-config (followed by config.sas path&filename)
-autoexec (followed by autoexec.sas path&filename)
The above are some of the command flags that
I have had success with.
Hope this is helpful,
Mark Terjeson
Washington State Department of Social and Health Services
Division of Research and Data Analysis (RDA)
(253) 840-2800
(253) 840-3566 fax
(360) 902-0741
(360) 902-0705 fax
mailto:terjemw@dshs.wa.gov
-----Original Message-----
From: steve kato [mailto:stevekato@MY-DEJA.COM]
Sent: Tuesday, November 21, 2000 5:26 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: sas cron job
I'm a new SAS user on unix - has any one out there run SAS through cron?
I tried
30 16 21 11 * /data/sas-81/sas /data/admin/process.sas -terminal -batch
-dmsbatch -fsdevice x11 -altlog /data/admin/process.log
1>/data/admin/process.out 2>&1
and looked at process.log and saw SAS was trying to open an X window
(it was trying to open the Session Manager window).
How do I get SAS to not open any windows? I want to process the
data with no user interaction.
Sent via Deja.com http://www.deja.com/
Before you buy.
|