Hi, I am a new JMP12 user and I have a need to concatenate several hundred .CSV files every day in order to monitor a manufacturig tool's performance. Now that the tool has been in use for several months I currently have ~ 75 000 files on the directory from where I need to read the files. All files need to remain on this directory. I need to monitor the tool over the last 30 days or so. Opening and concatenating the latest 2000 files would meed my needs. How can I add to the filelist to be opened based on the files' Last Modification Date? I would like to add an additional time based filter to those already in use: filepath = "K:\...\PROBER_01\" ; prefilelist = Files In Directory( filepath ); n2=nitems(prefilelist); //Provide filters to ensure appropriate csv files For( i2 = 1, n2 >= i2, i2++, file=(prefilelist[i2]); If ( word( 3, prefilelist[i2], "_" ) == "DRIE" & word( 2, prefilelist[i2], "_" ) == "ILGO1" & substr(prefilelist[i2],5,1 ) == "L" & substr(prefilelist[i2],1,1 ) == "G", Insert Into( filelist,file), show(file) ) ); something like : & Last Modification Date() > today()-30 days ?????? Thanks, Philip
... View more