Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
Dib-Dey
Level III

How to add multiple post processing scripts to a data table?

I have a GUI to generate a table (data pull from cloud) using JMP.

 

I want to add option such that post processing jsl scripts can be added to the output table so that user can opt which one to run. 

 

I want to know if there is any option to add multiple scripts to a data table. dt << ?? 

2 REPLIES 2
Highlighted

Re: How to add multiple post processing scripts to a data table?

You can send a 'cascade' of messages to the data table object:

 

dt	<< New Script( "Script 1", expression 1 )
	<< New Script( "Script 2", expression 2 )
	...
	<< New Script( "Script N", expression N );
Learn it once, use it forever!
Highlighted
txnelson
Super User

Re: How to add multiple post processing scripts to a data table?

If I am saving a script to a data table, that I have saved on my hard drive, here is the method I use

Names Default To Here( 1 );
dt = Current Data Table();

x = Load Text File( "<path to your script.jsl>" );

Eval( Parse( "dt << new script(\!"test\!"," || x || ")" ) );
Jim
Article Labels

    There are no labels assigned to this post.