Date: Mon, 22 Jan 2007 05:22:54 -0800
Reply-To: sunny <praveencbharadwaj@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sunny <praveencbharadwaj@GMAIL.COM>
Organization: http://groups.google.com
Subject: FILE PROPERTIES
Content-Type: text/plain; charset="iso-8859-1"
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.