LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: "Terjeson, Mark (IM&R)" <Mterjeson@RUSSELL.COM>
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;


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