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);Uhhh, come detto, non ha senso.
JMP deve essere eseguito da qualche parte e in che modo dipende dal sistema operativo, dal sistema operativo e dal modo in cui si intende eseguirlo. Sono un utente di Windows, quindi posso inviarlo a una corsa
- al momento programmato, tramite lo schedulatore winodws
- tramite una shell winodws utilizzando un file .bat
- da un prompt della riga di comando di Windows "C: \ Programmi \ SAS \ JMPPRO \ 14 \ jmp.exe" "c: \ temp \ test_quiet.jsl"
- da un altro programma, usando VB o C # o ?? e talvolta le shell del driver ODBC di alcune società consentono l'esecuzione di programmi / comandi OS.
Quindi, senza ulteriori informazioni su come viene chiamato questo programma e su quale sistema operativo stai utilizzando, non c'è risposta alla tua domanda. Cosa farà spawnare questo script?