<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alternative to Wait() in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54687#M30909</link>
    <description>Thank you very much!</description>
    <pubDate>Mon, 09 Apr 2018 11:36:40 GMT</pubDate>
    <dc:creator>Tina</dc:creator>
    <dc:date>2018-04-09T11:36:40Z</dc:date>
    <item>
      <title>Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54646#M30884</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;in my script I would like to stop the execution until the further step was completed. I would like to do a stepwise model selection and wait with the further script execution until this was succesfully completed.&lt;/P&gt;&lt;P&gt;Currently I am using "Wait( 30 )" to be sure that it is really completed. I also tried "Wait( )" but then sometimes the execution of the script proceeds to early. Wait( 0 ) does not work at all.&lt;/P&gt;&lt;P&gt;Does anyone know of a way that I could implement this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Tina&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 16:58:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54646#M30884</guid>
      <dc:creator>Tina</dc:creator>
      <dc:date>2018-04-08T16:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54659#M30888</link>
      <description>&lt;P&gt;I'm not sure about this case specifically, but I use Run Formulas alot. It forces the operations on a table to complete befoe moving on (like evaluating a formula column, or completing a join)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Rerun Formulas;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Apr 2018 02:00:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54659#M30888</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-04-09T02:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54682#M30904</link>
      <description>&lt;P&gt;Fit Stepwise has a message &lt;STRONG&gt;Finish&lt;/STRONG&gt; that can be used to make sure that it completes that process. &lt;STRONG&gt;Go&lt;/STRONG&gt; starts a background process and returns&amp;nbsp;immediately to the next step in your script.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 11:07:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54682#M30904</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-04-09T11:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54684#M30906</link>
      <description>&lt;P&gt;Thank you for this information!&lt;BR /&gt;&lt;BR /&gt;At the moment my script looks roughly like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;obj_expr = Expr(
obj = dt &amp;lt;&amp;lt; Fit Model(

Y(rs_list[i]),
Effects,
Personality( "Stepwise" ),

Run( Stopping Rule( "Minimum AICc" ) ) // TO DO: BIC statt AICc als
Alternative

)
);

Substitute Into( obj_expr, Expr( Effects ), Parse(" Effects(" ||
modeleffects || " )"));
Eval( obj_expr );
obj &amp;lt;&amp;lt; Go;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What you mean is that 'Go' just starts a background process and then the&lt;BR /&gt;next step of the script is immediately run, is that correct?&lt;BR /&gt;How would I access the 'Finish' message from Fit Stepwise?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 19:16:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54684#M30906</guid>
      <dc:creator>Tina</dc:creator>
      <dc:date>2018-04-16T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54685#M30907</link>
      <description>&lt;P&gt;So it&amp;nbsp;seems like just adding&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;obj &amp;lt;&amp;lt; Finish;&lt;/P&gt;&lt;P&gt;after the&lt;/P&gt;&lt;P&gt;obj &amp;lt;&amp;lt; Go;&lt;/P&gt;&lt;P&gt;will work. Is that the way&amp;nbsp;you would propose to code it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 11:31:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54685#M30907</guid>
      <dc:creator>Tina</dc:creator>
      <dc:date>2018-04-09T11:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54686#M30908</link>
      <description>&lt;P&gt;Select &lt;STRONG&gt;Help&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Books&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Scripting Guide&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Select &lt;STRONG&gt;Help&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Scripting Index&lt;/STRONG&gt; &amp;gt;&lt;STRONG&gt; Fit Stepwise&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Finish&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Example from help:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Fitness.jmp" );
obj = Fit Model(
	Y( :Oxy ),
	Effects(
		:Runtime,
		:Weight,
		:RunPulse,
		:RstPulse,
		:MaxPulse
	),
	Personality( Stepwise ),
	Run
);
obj &amp;lt;&amp;lt; Finish;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Apr 2018 11:34:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54686#M30908</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-04-09T11:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative to Wait()</title>
      <link>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54687#M30909</link>
      <description>Thank you very much!</description>
      <pubDate>Mon, 09 Apr 2018 11:36:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Alternative-to-Wait/m-p/54687#M30909</guid>
      <dc:creator>Tina</dc:creator>
      <dc:date>2018-04-09T11:36:40Z</dc:date>
    </item>
  </channel>
</rss>

