Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

- JMP User Community
- :
- Discussions
- :
- JSL Test for Formula Column Evaluations Done

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Dec 17, 2018 8:39 AM
(2999 views)

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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;
```

3 REPLIES 3

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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;
```

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: JSL Test for Formula Column Evaluations Done

Thanks Ian,

That was very easy!

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: JSL Test for Formula Column Evaluations Done

dt << run formulas;

Jim

Article Labels

There are no labels assigned to this post.