Date: Sun, 19 Mar 2006 16:31:29 -0800
Reply-To: David <davidschr@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David <davidschr@GMAIL.COM>
Subject: Re: Email into SAS server and starting a SAS job. Possible?
Content-Type: text/plain; charset="iso-8859-1"
You could write a scheduled script that polled the output of the Unix
mail command (or the mail spool) and triggered a SAS job that way. Or
if you have something like procmail I imagine you could have it set off
batch SAS without polling.
There is a security risk however - do you really want people to be able
to run SAS just by sending an email, given that Email headers can
easily be forged?
Ali G wrote:
> Is this possible?
> We have a SAS BI Enterprise and a big UNIX server. Is it possible for
> someone to email into the server and attach a CSV file say, and upon
> receipt of the file the server goes 'Ah ha!' and kicks off a SAS job
> that rips out the attached file and does something or other with it?
> What needs to be done?
> Many thanks.