cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

JMP Script to detect the rows which are excluded in the data table ?

Hi all,

 

may I ask, 

 

is JMP Script able to detect the rows which are excluded in the data table and remove them automatically  ?

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: JMP Script to detect the rows which are excluded in the data table ?

Here is the example script taken directly from the Scripting Index

     Help==>Scripting Index

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Rows( [5, 7, 8, 10, 15] );
dt << Exclude( 1 );
dt << Clear Select;
Wait( 2 );
dt << Select Excluded;


// This line is added from the Delete Rows option in the Scripting Index
dt << Delete Rows;

So the actual script you want is

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

dt << Select Excluded;
dt << Delete Rows;

 

Jim

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: JMP Script to detect the rows which are excluded in the data table ?

Here is the example script taken directly from the Scripting Index

     Help==>Scripting Index

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Rows( [5, 7, 8, 10, 15] );
dt << Exclude( 1 );
dt << Clear Select;
Wait( 2 );
dt << Select Excluded;


// This line is added from the Delete Rows option in the Scripting Index
dt << Delete Rows;

So the actual script you want is

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

dt << Select Excluded;
dt << Delete Rows;

 

Jim

Re: JMP Script to detect the rows which are excluded in the data table ?

Thank you, Jim.
This is what I am looking for.
msharp
Super User (Alumni)

Re: JMP Script to detect the rows which are excluded in the data table ?

Selecting Rows changes the state of your table, granted so does deleting rows so it's a mute point for your problem.  However, if you are interested in doing other things to these rows I would also suggest the get excluded rows function.

 

ex_rows = dt << Get Excluded Rows;

 

Recommended Articles