你好,
我可以知道票据中的错误在哪里吗?我想通过lot_id生成流程能力报告,如下所示。

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>
你有双逗号。
By( :lot_id )
) ,,
Goal Plot( 0 ), Capability Index Plot( 0 ) ),
您使用的是哪个版本的 JMP? 使用字符串而不是表达式构建消息(Eval(Parse()) vs Eval(Substitute()) vs Eval(EvalExpr()) 是否有特定原因? 您是否检查过您正在构建的字符串是否正确?