There is a syntax error in the JSL. The Log shows
Unexpected end of input. Perhaps there is a missing "," or ")".
Trying to parse arguments of function "new script".
Line 2 Column 75: …olumns(after(Column(1)));►
The issue is a missing closing ");) for the New Script() function. If the closing ");" is added the JSL works as expected.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Eval(Parse(
"dt<<new script(\!"test\!",
dt<<Select Columns(ncol(dt));dt<<Move Selected Columns(after(Column(1))););
"
));
//??
dt << New Column( "AA" );
Jim