How to use JSL to write a script in the specified JMP file and save it in the JMP?
Such as:Abrasion.jmpdt = Open( "$SAMPLE_DATA/Abrasion.jmp" );
dt << Select Where( Shift == "A" );
d3 = dt << Subset( Output Table( "ts" ), Selected Rows( 1 ), selected columns( 0 ) );
JSL extracts A subset of file "Abrasion.jmp" and creates A script in this subset file that writes the following:d3 = Current Data Table();
d3 << Sort( By( 6 ), Order( Descending ), replace table );
Thanks Experts!