cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

how to do a 'smart' wait in JSL ?

shlomi_bakish
Level II

 

I'm using JSL to add some formula to a large table (10's millions of rows).

The next line of code is using to data of the formula, but if it's executed without wait - the data it sees is empty.

Adding a wait of few seconds solves it but I want to have a robust way to wait just the required amount of time (which depends on the size 
of the table which can vary).

Is there a way to know when the command actually finished populating the table?

Using JMP 15

2 REPLIES 2
txnelson
Super User


Re: how to do a 'smart' wait in JSL ?

You can try either of these

Wait( 0 );
//or
dt << rerun formulas;
Jim
Craige_Hales
Super User


Re: how to do a 'smart' wait in JSL ?

dt<<RunFormulas;

 is the best. It was invented for this.

Craige