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 (November 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 2 Nov 2006 13:37:24 -0500
Reply-To:   Kevin Roland Viel <kviel@EMORY.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Kevin Roland Viel <kviel@EMORY.EDU>
Subject:   Re: read in sas file and write out with new extension
In-Reply-To:   <ed52c9100611021006i5290f27fsa440084be4f53f46@mail.gmail.com>
Content-Type:   TEXT/PLAIN; charset=US-ASCII

On Thu, 2 Nov 2006, Jake Bee wrote:

> the extension should change for .sas to .txt (essentially a rename)

The the X statement should cover you. Two questions remain: why and how many files?

> > x "copy C:\one.sas C:\one.txt" ;

If you are on Windows, you could use PIPE and the DIR command to obtain a listing of all files (with the .sas extension) and then use CALL EXECUTE to perform the X statements....

HTH,

Kevin

Kevin Viel PhD Candidate Department of Epidemiology Rollins School of Public Health Emory University Atlanta, GA 30322


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