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);Euh, comme dit, ça n'a aucun sens.
JMP doit fonctionner quelque part et dépend de votre système d'exploitation, de votre système d'exploitation et de la manière dont vous prévoyez de l'exécuter. Je suis un utilisateur Windows, je peux donc le soumettre à une exécution
- à l’heure prévue, via le planificateur winodws
- via un shell winodws utilisant un fichier .bat
- à partir d'une invite de ligne de commande Windows "C: \ Program Files \ SAS \ JMPPRO \ 14 \ jmp.exe" "c: \ temp \ test_quiet.jsl"
- à partir d'un autre programme, en utilisant VB, ou C # ou ?? et parfois, les coques de pilotes ODBC de certaines sociétés permettent l'exécution de programmes / commandes de système d'exploitation.
Donc, sans plus d'informations sur la façon dont ce programme est appelé et sur le système d'exploitation que vous utilisez, il n'y a pas de réponse à votre question. Qu'est-ce qui va engendrer ce script?