Date: Mon, 22 Jan 2007 13:37:33 +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: FILE PROPERTIES
In-Reply-To: <1169472174.623137.251160@v45g2000cwv.googlegroups.com>
Content-Type: text/plain; format=flowed
Well Sunny we do this for free so dont get too pushy on the time line.
Next all you need is:
Libname Test "/ABC/XYZ" ;
Proc SQL ;
Create Table DataInfo As
Select *
From Dictionary.Tables ;
Where Libname = 'TEST' ;
Quit ;
Proc Print
Data = Datainfo ;
Run ;
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: sunny <praveencbharadwaj@GMAIL.COM>
Reply-To: sunny <praveencbharadwaj@GMAIL.COM>
To: SAS-L@LISTSERV.UGA.EDU
Subject: FILE PROPERTIES
Date: Mon, 22 Jan 2007 05:22:54 -0800
data diropts;
length optname $ 12 optval $ 40;
keep optname optval memcount;
rc=filename("mydir1" ,"F:\sourcetemp\praventest");
did=dopen("mydir1");
numopts=doptnum(did);
do i = 1 to numopts;
optname=doptname(did,i);
memcount=dnum(did);
optval=dinfo(did,optname);
output;
end;
run;
I used the cod to know the directoty name and number of filesin it.
But to know the created date and the modified date .Please help me in
my code.
Details:
I had a directory and i have the files in it .
I need to know the name of the files and the created date and the
modified date .
For this i can know the number of files which are uploading ..
Please help me as quickly as possible.
_________________________________________________________________
Laugh, share and connect with Windows Live Messenger
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=hmtagline