I have been using JMP scripts for a number of years to import large batches of excel files in a loop. Ever since the update to JMP 18 this now takes 4 or 5 times longer than it used to. Where opening 100 files may have taken around 5 minutes previously it now takes upwards of 20 minutes. None of my scripts have changed.
This is the typical syntax used:
// Open up Sum_LP sheet and copy contents to JMP table called summary
dt = Open(
::fullfile,
Worksheets(Sheetname),
Use for all sheets(0),
Concatenate Worksheets(0),
Create Concatenation Column(0),
Worksheet Settings(
1,
Has Column Headers(0),
Number of Rows in Headers(0),
Headers Start on Row(0),
Data Starts on Row(5),
Data Starts on Column(1),
Data Ends on Row(54),
Data Ends on Column(120),
Replicated Spanned Rows(1),
Replicated Spanned Headers(0),
Suppress Hidden Rows(1),
Suppress Hidden Columns(1),
Suppress Empty Columns(0),
Treat as Hierarchy(0),
Multiple Series Stack(0),
Import Cell Colors(0),
Limit Column Detect(0),
Column Separator String("-")
),
Invisible
);
Edit (jthi): added jsl formatting
The efficiency of this is critical since it is used multiple times a day. Can anyone help me understand why it is now so slow?