Date: Tue, 22 Jun 2010 09:44:48 -0400
Reply-To: "Viel, Kevin" <kviel@SJHA.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Viel, Kevin" <kviel@SJHA.ORG>
Subject: Re: Interesting problem with SAS and Unix
In-Reply-To: <AANLkTik5lWNbwAbfBVIO6-fSC9apQgyb4xFtdKUR_Zku@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Jay
> O'neal
> Sent: Monday, June 21, 2010 11:41 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Interesting problem with SAS and Unix
>
> Hello,
> I wanted some help on this particular problem if any of you
> have come across. The problem is on automation and would appreciate your
> comments etc. I have a few SAS procedures (Proc reports, tabulate etc.)
> that
> need to be combined for automation and generate an output for each data
> set.
>
> Automation process:
>
> 1) The job starts of with a Unix command to run the perl script - the
> command can be entered either at the command line or under crontab.
>
> 2) Next, the perl script needs to get the SAS programs or perl
> subroutines,
> and runs each step in sequence.
>
> 3) After the job is completed, the reports (from step 2) are emailed to
> the
> recipient.
2)
What? Perl cannot run one-liners of SAS? :)
Perl can write SAS programs. The SAS programs, written by you manually or by perl, can be macros or can have %INCLUDE statements. They can also be single datasteps or procedures.
This sounds very easy to accomplish, if you design it well.
-Kevin
Kevin Viel, PhD
Senior Research Statistician
Patient Safety & Quality
International College of Robotic Surgery
Saint Joseph's Translational Research Institute
Saint Joseph's Hospital
5671 Peachtree Dunwoody Road, NE, Suite 330
Atlanta, GA 30342
(678) 843-6076: Direct Phone
(678) 843-6153: Facsimile
(404) 558-1364: Mobile
kviel@sjha.org
Confidentiality Notice:
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s).
It may contain information that is privileged and
confidential. Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.
|