BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Ann_JMP_User
Contributor

Why is the JMP data table still open when I have inserted the "invisible" command ?

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);
0 Kudos
1 REPLY 1
gzmorgan0
Super User

Re: Why is the JMP data table still open when I have inserted the "invisible" command ?

Uhhh, as stated, that makes no sense.

 

JMP needs to run somewhere and how depends upon your operating system, OS, and how you intend this to run. I am a windows user, so I can submit it to a run it

  • at scheduled time, via the winodws scheduler
  • via a winodws shell using a .bat file
  • from a windows command line prompt "C:\Program Files\SAS\JMPPRO\14\jmp.exe" "c:\temp\test_quiet.jsl"
  • from a another program, using VB, or C# or ?? and sometimes the ODBC driver shells of some companies allow OS programs/command to run.

So without more information about how this program is being called, and what OS you are using, there is no answer to your question.  What will spawn this script to run?   

0 Kudos