<?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: Sas Stop Valve? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131661#M35783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;I wonder if anyone knew of a macro/option that I could put at the top of my code that would just abort anything after that command.&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;You want a statement that can go as the first statement of your code that will prevent any code from executing if you accidentally hit run when nothing is selected. I am not aware of anything like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems like a double edged sword, because when you do want the whole set of statements to execute, you have to remove or comment out whatever is the first statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer cancelling execution via Ctrl-Break (on Windows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a macro environment you can use a %goto statement to skip certain code (including as the first executable line of the macro if you want) or %if 0 %then %do; followed by an %end; statement somewhere to comment out blocks of code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 17:55:55 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2013-05-07T17:55:55Z</dc:date>
    <item>
      <title>Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131659#M35781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone else ever accidentally hit run in a program with a long code without anything selected? I've done it and seen it happen a million times. I wonder if anyone knew of a macro/option that I could put at the top of my code that would just abort anything after that command. I know stop all submitted commands in an option but I have to end up re-running my datasets most of the time so it doesn't save too much time. I'm currently just commenting out large tasks but it doesn't really address the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131659#M35781</guid>
      <dc:creator>DDX</dc:creator>
      <dc:date>2013-05-07T17:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131660#M35782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could embed the code you don't want to execute into a macro definition. It will be visible in the log, but not executed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131660#M35782</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-05-07T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131661#M35783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;I wonder if anyone knew of a macro/option that I could put at the top of my code that would just abort anything after that command.&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;You want a statement that can go as the first statement of your code that will prevent any code from executing if you accidentally hit run when nothing is selected. I am not aware of anything like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems like a double edged sword, because when you do want the whole set of statements to execute, you have to remove or comment out whatever is the first statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer cancelling execution via Ctrl-Break (on Windows).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a macro environment you can use a %goto statement to skip certain code (including as the first executable line of the macro if you want) or %if 0 %then %do; followed by an %end; statement somewhere to comment out blocks of code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131661#M35783</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2013-05-07T17:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131662#M35784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I've never tried using control break, so I'll start there. I'll look into that macro option, but I didn't want to get too automated because the process I'm skipping is a data step which I'm refining all the time. From what both of you are saying though the macro option seems to be my best bet so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 19:00:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131662#M35784</guid>
      <dc:creator>DDX</dc:creator>
      <dc:date>2013-05-07T19:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131663#M35785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be a kludge but if there is a data set you don't want to run unless selected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;Data wanttorunamanually;&lt;/P&gt;&lt;P&gt;Statements&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;Then when you want this to run highlight those lines and submit.&lt;/P&gt;&lt;P&gt;Of course I may be misunderstanding the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 22:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131663#M35785</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-05-07T22:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131664#M35786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect! And now so obvious. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 13:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131664#M35786</guid>
      <dc:creator>DDX</dc:creator>
      <dc:date>2013-05-08T13:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131665#M35787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i am looking for someone to help me with conbrach alpha on SAS can you help me please. where is it located. i am using 9.4 enterprise. please help&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:25:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131665#M35787</guid>
      <dc:creator>TeamSouthAfrica</dc:creator>
      <dc:date>2015-08-28T15:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Stop Valve?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131666#M35788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please start new threads instead of tacking on to old unrelated threads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cronbach's Alpha can be found with the Alpha option of Proc Corr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:37:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Stop-Valve/m-p/131666#M35788</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-28T15:37:09Z</dc:date>
    </item>
  </channel>
</rss>

