I am assuming you want to do this selection using a script.
Here is a script to select rows based upon the rows outside of spec limits for one variable
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
specs = dt:PNP1 << get property("spec limits");
dt << select where( dt:PNP1 <= specs["LSL"] | dt:PNP1 >= specs["USL"]);
Here is script for multiple columns
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
//colNames = dt << get column names( continuous, string );
colNames = { "PNP1", "PNP3"};
For( i = 1, i <= N Items( colNames ), i++,
specs = Column( dt, colNames[i] ) << get property( "spec limits" );
If( Try( Is Missing( specs["LSL"] ) ) == 0 & Try( Is Missing( specs["USL"] ) ) == 0,
found = dt << get rows where(
as Column( dt, colNames[i] ) <= specs["LSL"] | as Column( dt, colNames[i] ) >= specs["USL"]
);
If( N Rows( found ) > 0,
dt << select rows(found);
);
);
);
Jim