I had a perfectly good working script to open all the files in a directory and then Concatenate all of the files (in JMP10).
I use this and variants of this script all the time for data collection.
Now in JMP11 is crashes on the Concatenate part of the script.
It still works fine in JMP10 and so I am back to using JMP10 for my work.
This group helped me get the first script going back in April of this year.
Please help!!
Charlie Fields
=====================================================================================================
path = "C:\temp\data\";
final_files = {};
final_files = Files in Directory(path, recursive);
///////////////////Open First File in List/////////////////////
///////additional files will be appended to this one///////////
i=1;
dtjoin = Open(
path || final_files
)
<< set name( "Joined1" );
////////////////////////////////////////////////////////////////////////////
//////////Now open the remaining Files in List//////////////
////////////////////////////////////////////////////////////////////////////
i=2;
For( i = 2, i <= N Items( final_files ), i++,
dt =
Open(
path || final_files,
);
dtjoin = dtjoin << Concatenate(
dt,
output table name( "Joined" || Char( i ) ),
);
Close( dt, nosave);
Close( "Joined" || Char( i - 1 ), nosave );
); //End of For
dtjoin << set name( "All Joined" );