Date: Sat, 14 Apr 2001 08:43:56 -0700
Reply-To: "Terjeson, Mark" <TerjeMW@DSHS.WA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <TerjeMW@DSHS.WA.GOV>
Subject: Re: Embedding UNIX commands in SAS
Content-Type: text/plain; charset=us-ascii
Hi Sekhar,
We're using Sun here too. Yes, you can embed Unix
commands in a SAS program. You will need to move
the quote marks around just a little. This works:
x 'cp myfile nextfile';
or
x "cp myfile nextfile";
Hope this is helpful,
Mark Terjeson
Washington State Department of Social and Health Services
Division of Research and Data Analysis (RDA)
mailto:terjemw@dshs.wa.gov
-----Original Message-----
From: chandra kalisetty [mailto:c.kalisetty@WORLDNET.ATT.NET]
Sent: Saturday, April 14, 2001 6:03 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Embedding UNIX commands in SAS
Hello all
Is it possible to embed UNIX commands in a SAS program. I tried using "X cp
myfile nextfile " like commands, but it did not work. We are using SAS v8
and Sun Solaris platform.
any help is greatly appreciated.
Thanks
Sekhar
|