cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
terapin
Level VI

JSL Test for Formula Column Evaluations Done

I'm using JSL to import some data from csv files and to create some new formula columns.  Before proceeding with additional steps, I want to test for whether the new formula columns have completed their evaluations.  Currently, I use the Wait() command but that seems like an unelegant and inefficient way to complete the evaluation.

 

I've looked in the help manual but can't find a JSL command that allows me to test for whether the Evaluations in my new formula columns have been completed.  Does anyone either know of a command or a method that allows the JSL to wait only as long as is necessary for the formulas to be evaluated before proceeding.  Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Staff

Re: JSL Test for Formula Column Evaluations Done

Try something like (from 'Help > Scripting Index'):

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Central Limit Theorem.jmp" );
dt << Add Rows( 100 );
dt << Rerun Formulas;

 

View solution in original post

3 REPLIES 3
ian_jmp
Staff

Re: JSL Test for Formula Column Evaluations Done

Try something like (from 'Help > Scripting Index'):

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Central Limit Theorem.jmp" );
dt << Add Rows( 100 );
dt << Rerun Formulas;

 

terapin
Level VI

Re: JSL Test for Formula Column Evaluations Done

Thanks Ian,

 

That was very easy!

txnelson
Super User

Re: JSL Test for Formula Column Evaluations Done

dt << run formulas;

Jim