LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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?


Back to: Top of message | Previous page | Main SAS-L page