I would not use this approach at all, and it doesn't work on my Computer (still all rows in subset, and no error/message thrown):
Names default to here(1);
dt=open("$SAMPLE_DATA\Big Class.jmp");
Data Table( dt ) << Subset(
Linked,
selected rows only( 1 ),
row selection( select where( As Column( 2 ) > 13 ) ),
Selected columns only( 0 ),
);
The reason is, that in documentation of "subset" I couldn't find any option like "row selection", there is only
<Selected Rows>, <Rows([number, number, ...])>,
see: Subset a Data Table (jmp.com)
And the danger is, that unknown parameters don't thrown an error, so difficult to debug.
Additionally, when selecting rows within that subset statement, I would't really be sure that selecting gets done before the subset, so it doesn't look stable to me.
My solution would be either to select the rows before the subset statement, or as below by explicitly selecting the row numbers.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
Data Table( dt ) << Subset(
Linked,
rows( /* explicit rows [1,2,3] or conditionally: */ Loc( (dt:age << get values) > 16 ) ),
Selected columns only( 0 ),
);
Georg