Subscribe Bookmark RSS Feed

Obtaining file date (created/modified) information in JSL

ray3

Community Trekker

Joined:

Jun 23, 2011

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
pmroz

Super User

Joined:

Jun 23, 2011

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

Community Trekker

Joined:

Jun 23, 2011

Working is what I need!

and it does.
Thanks.