CIAO,
Posso sapere dove c'è di sbagliato nello script, vorrei generare il rapporto sulla capacità del processo tramite lot_id come di seguito.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
// Create a complex name for a column to make sure it will be
// processed correctly
dt:NPN1 << set name( "NPN1-7/Best" );
// Get a list of columns to be used
colList = dt << get column names( continuous, string );
ProcessFunc = Function( {TheList},
// Move them into a single literal string of the format required
// for the Process Variables element in the Process Capability
// platform
TheVars = ":Name(\!"" || TheList[1] || "\!")";
For( i = 2, i <= 10, i++,
TheVars = TheVars || "," || ":Name(\!"" || TheList[i] || "\!")"
);
// Run the Process Capability platform, using the literal
// string "TheVars"
pcVar=Eval(Parse("dt << Process Capability(
SendToByGroup( Bygroup Default ),
Process Variables( "|| TheVars|| ")
{:TheVars << Process Capability Analysis},
By( :lot_id )
) ,,
Goal Plot( 0 ), Capability Index Plot( 0 ) ),
);"));
pcVar <<ORDER by=""></ORDER>
hai la doppia virgola.
By( :lot_id )
) ,,
Goal Plot( 0 ), Capability Index Plot( 0 ) ),
Quale versione di JMP stai usando? C'è un motivo specifico per costruire il messaggio usando le stringhe invece dell'espressione (Eval(Parse()) vs Eval(Substitute()) vs Eval(EvalExpr())? Hai controllato che la stringa che stai costruendo sia corretta?