Date: Thu, 10 Jul 2008 05:59:34 -0700
Reply-To: Francogrex <franco@GREX.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Francogrex <franco@GREX.ORG>
Organization: http://groups.google.com
Subject: Re: Calling LISP program from SAS
Content-Type: text/plain; charset=ISO-8859-1
On Jul 9, 6:28 am, KL <Kev.L.Sc...@gmail.com> wrote:
> On Jul 7, 3:43 pm, Francogrex <fra...@grex.org> wrote:
>
> > Hi, I'm new to SAS. I have written some programs in "common lisp" and
> > I was wondering if there is any way to integrate a LISP program into
> > SAS, or to call the LISP program in SAS? That's because my collegues
> > use SAS only (regulatory) and would like very much to be able to run
> > my LISP programs in it. If possible this would be a great solution
> > because instead of rewriting the programs in SAS (they are many, and
> > it's not very straightforward to "translate" them), he just can
> > integrate them as they are. Thanks.
>
> Yes you can execute commands in the OS shell using a variety of
> techniques in SAS. My order of preference is:
>
> 1. %xlog(your-lisp-command) or %xlst(your-lisp-command) macros. These
> pipe the command to the shell.
> 2. within a data _null_ step using the rc=system(your-lisp-command)
> function.
> 3. using rhe x "your-lisp-command" statement.
>
> Please refer to the Base SAS documentation for your version and OS for
> more information.
>
> Thanks,
> KL
Thanks but could you give a simple specific example? I tried looking
for %xlog or %xlst is the my SAS help and documentation (SAS 9.1) and
couldn't find anything?
Should I contact the institute for that?
|