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 (April 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 13 Apr 2004 16:13:16 -0500
Reply-To:     Gary Ross <gary_ross@MGIC.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gary Ross <gary_ross@MGIC.COM>
Organization: http://extra.newsguy.com
Subject:      Re: Rename a series of datasets
Content-Type: text/plain; charset=us-ascii

Dianne Rhodes wrote: > > Hi > > What is the easiest way to rename a series of datasets? I don't have write > access to them, so I am supposed to write a program that someone else can > execute to do the rename. I find lots of ideas for renaming variables, but > haven't flushed up anything on renaming the datasets. For example, I want > to rename a dataset MVNSU to MVNOALLSU, MVNCU to MVNOALLCU to feed into a > process that uses the dictionary tables and looks for MVN &SFX. * where &SFX > = OALL. This came about because it was decided after the fact to include > additional tables in the process. > > Dianne Louise Rhodes > Sr. Systems Analyst > Westat

Hi Dianne

You don't say what os, but if you look in the on-line or help docs for filename pipe, there is an example. Basicly, on Windows, a dir command output is piped to the fileref of the filename and can be read into a sasfile with infile and input statements.


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