Date: Thu, 5 May 2005 16:41:22 -0400
Reply-To: "Ross, Michael D" <michael.ross@ASTRAZENECA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Ross, Michael D" <michael.ross@ASTRAZENECA.COM>
Subject: Re: Call System in UNIX
Content-Type: text/plain; charset="iso-8859-1"
same result with ll or ls
-----Original Message-----
From: Terjeson, Mark (IM&R) [mailto:Mterjeson@RUSSELL.COM]
Sent: Thursday, May 05, 2005 4:10 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Call System in UNIX
Hi Michael,
Are you sure your command ll shouldn't be ls?
ls will work as you have written.
Hope this is helpful.
Mark Terjeson
Senior Programmer Analyst, IM&R
Russell Investment Group
Russell
Global Leaders in Multi-Manager Investing
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Ross, Michael D
Sent: Thursday, May 05, 2005 1:06 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Call System in UNIX
Hi All,
I'm having trouble with the following code in Unix. It creates the
"dump.txt" file in the specified directory; however, it has 0 records in
it. Any suggestions?
%let progs = /temp/mydir;
data _null_;
command= " ll &progs *.sas > &progs/dump.txt";
call system (command);
run;