Date: Thu, 8 Nov 2007 14:11:11 -0800
Reply-To: Ali G <Alistair.Gordon@NEWTYNE.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ali G <Alistair.Gordon@NEWTYNE.COM>
Organization: http://groups.google.com
Subject: invoke a UNIX shell script from SAS and pass in a variable value
Content-Type: text/plain; charset="iso-8859-1"
Any help with this will be gratefully received.
I need to execute a UNIX shell script and be able to pass in a value
each time I run it. the value will be read from a SAS table and
probably be in the form of a SAS macro variable
Anyone know how I set up the call in SAS to pass the value and also
how I set up the script to receive it?
I'm guessing it wil be something like this on the SAS side:
%sysexec /home/myuser/mysript &value;
but no idea about the UNIX script side.