I am not too sure why is the JMP data table still opened when I have inserted the "invisible" into the script ?
I actually wanted to write a script to run it at the background without having to open JMP.
//!
Names Default To Here( 1 );
dt1 = Open( "C:\User\Ann Ann\Monitoring.jmp", invisible );
obj = Variability Chart(
Y( :MTA ),
X( :Name( "MONTH" ), :Name( "WEEK" ), :LOT ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Connect Cell Means( 0 ),
Std Dev Chart( 0 ),
Automatic Recalc( 1 ),
Where( :SITE == 9 ),
SendToReport(
Dispatch(
{"Variability Chart for MTA"},
"1",
ScaleBox,
{Label Row( 2, Label Orientation( "Perpendicular" ) ), Label Row(
3,
Label Orientation( "Perpendicular" )
)}
),
Dispatch(
{"Variability Chart for MTA"},
"Variability Chart",
FrameBox,
{Grid Line Order( 4 ), Reference Line Order( 5 ), Row Legend(
PRODUCT,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
),
Dispatch(
{"Variability Chart for MTA"},
"1",
ScaleBox( 2 ),
{Label Row( 2, Label Orientation( "Perpendicular" ) ), Label Row(
3,
Label Orientation( "Perpendicular" )
)}
)
)
);
robj = obj << report;
robj << Save Picture( "C:\Users\Ann Ann/MTA.jpg", "jpeg" );
Close( dt1, save);呃,如上所述,没有任何意义。
JMP需要在某个地方运行,具体取决于您的操作系统,操作系统以及您打算如何运行。我是一个Windows用户,所以我可以将它提交给运行它
- 在预定的时间,通过winodws调度程序
- 通过使用.bat文件的winodws shell
- 从Windows命令行提示符“C:\ Program Files \ SAS \ JMPPRO \ 14 \ jmp.exe”“c:\ temp \ test_quiet.jsl”
- 从另一个程序,使用VB,或C#或??有时一些公司的ODBC驱动程序shell允许运行OS程序/命令。
因此,如果没有关于如何调用此程序以及您正在使用的操作系统的更多信息,则无法回答您的问题。 什么会产生这个脚本来运行?