JMP Script will not execute fully in 1 run, wait() will not work
Jun 9, 2010 12:41 PM(1235 views)
Software: JMP 7.0.2 Op sys: Win XP
Problem: I have been scripting in JMP for years and I am accustomed to using the Wait statement when the JMP scripting language gets ahead of itself in calculations or otherwise errors out. In this case the script runs perfect if I highlight the first half, run it, highlight the second half, run it. Although, together they will not run, a wait in between does not fix it. It appears to be a problem in plotting / survival analysis plot. This will not run unless it is run individually. Any suggestions?
The following code must be run separately. The top code will bomb out at this point wait does not work. wait(5); Weibull1 = Survival( Y( :Name( "Sum(ADJTOW)" ) ), Censor( :Name( "Sum(Suspension)" ) ), Failure Plot( 0 ), Survival Plot( 1 ), Weibull Fit( 1 ), Fitted Quantile( 1 ), by( :Name( "WUC of outCalcTOW By (WUC, PN, SN, RemInt)" ) ) );
weibullreport = weibull1 << report; weibulloutput = weibullreport[tablebox(2)] << make combined data table;