Choose Language Hide Translation Bar
Highlighted
terapin
Level V

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
Highlighted
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
Highlighted
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

Highlighted
terapin
Level V

Re: JSL Test for Formula Column Evaluations Done

Thanks Ian,

 

That was very easy!

Highlighted
txnelson
Super User

Re: JSL Test for Formula Column Evaluations Done

dt << run formulas;

Jim
Article Labels

    There are no labels assigned to this post.