Date: Wed, 21 Mar 2007 13:21:23 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: Passing the SAS File name in a variable..
In-Reply-To: <200703210725.l2L21Q8E031988@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed
N S Ram ,
What you are looking for is the FileVar option. It allows you to specify a
list of files to process.
Toby Dunn
To sensible men, every day is a day of reckoning. ~John W. Gardner
The important thing is this: To be able at any moment to sacrifice that
which we are for what we could become. ~Charles DuBois
Don't get your knickers in a knot. Nothing is solved and it just makes you
walk funny. ~Kathryn Carpenter
From: N S Ram <nsundram@GMAIL.COM>
Reply-To: N S Ram <nsundram@GMAIL.COM>
To: SAS-L@LISTSERV.UGA.EDU
Subject: Passing the SAS File name in a variable..
Date: Wed, 21 Mar 2007 03:25:00 -0400
Hi all,
Help me on this !!!
I need to read a flat file and get a SAS file name from the flat file to
process it.
This File is a SAS File and I need to read through the data present inside
this file.
I was able to read the Flat file through INFILE and INPUT and got the SAS
File in a variable. And tried using the LIBNAME statement to allocate the
SAS file to a DD name but I wasnt able to allocate it.
I dont have exact code now,
DATA INFIL;
INFILE <file name1>
INPUT Variable1 ; /* this variable1 would have the SAS file name */
Please let me know whether this is possible.
_________________________________________________________________
Mortgage refinance is hot 1) Rates near 30-yr lows 2) Good credit get
intro-rate 4.625%*
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5f&s=4056&p=5117&disc=y&vers=743