cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
ray3
Level I

Obtaining file date (created/modified) information in JSL

Hi,

I was wondering if it is possible to obtain the date created/date modified information from files using jsl.

I have a large data directory that stores all the raw data from experiments run in the lab, and I would like to load the entire directory and be able to plot files based on the date they were created to get a historical trending, without having to open them individually

Thanks
Ray
2 REPLIES 2
pmroz
Super User

Re: Obtaining file date (created/modified) information in JSL

You could dynamically create a bat file with the command

dir/a-d (your directory here) > tmp.txt

Execute the bat file using Open(). See this thread for more details: http://support.sas.com/forums/thread.jspa?messageID=33589茵

Then read the file tmp.txt into JMP. Not a gold watch, but it'll work!

Regards,
Peter
ray3
Level I

Re: Obtaining file date (created/modified) information in JSL

Working is what I need!

and it does.
Thanks.