<?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: run in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/run/m-p/58928#M6028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To quote from a paper (&lt;A href="http://www2.sas.com/proceedings/sugi22/ADVTUTOR/PAPER44.PDF" title="http://www2.sas.com/proceedings/sugi22/ADVTUTOR/PAPER44.PDF"&gt;http://www2.sas.com/proceedings/sugi22/ADVTUTOR/PAPER44.PDF&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When a step boundary (basically a RUN statement or&lt;/P&gt;&lt;P&gt;a new step) is encountered, the previous step is&lt;/P&gt;&lt;P&gt;compiled and executed (if no syntax errors were&lt;/P&gt;&lt;P&gt;found ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, if you have to use a macro variable or anything else that is dependent upon compilation and execution (from a data step), use a run statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally, I like to use them all of the time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2012 21:37:19 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-04-09T21:37:19Z</dc:date>
    <item>
      <title>run</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/run/m-p/58927#M6027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont understand when to sprinkle in the "run" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes in EG, %put &amp;amp;s1 yields&lt;/P&gt;&lt;P&gt;&amp;amp;s1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sometimes in SunOS, the same statement yields correctly as:&lt;/P&gt;&lt;P&gt;1234.5678 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I remember to magically sprinkle in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%put &amp;amp;s1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works. yipee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q: What is the rule of thumb, and please don't say always insert "run" because I know often times it is unneeded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 21:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/run/m-p/58927#M6027</guid>
      <dc:creator>carterson2</dc:creator>
      <dc:date>2012-04-09T21:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: run</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/run/m-p/58928#M6028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To quote from a paper (&lt;A href="http://www2.sas.com/proceedings/sugi22/ADVTUTOR/PAPER44.PDF" title="http://www2.sas.com/proceedings/sugi22/ADVTUTOR/PAPER44.PDF"&gt;http://www2.sas.com/proceedings/sugi22/ADVTUTOR/PAPER44.PDF&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When a step boundary (basically a RUN statement or&lt;/P&gt;&lt;P&gt;a new step) is encountered, the previous step is&lt;/P&gt;&lt;P&gt;compiled and executed (if no syntax errors were&lt;/P&gt;&lt;P&gt;found ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, if you have to use a macro variable or anything else that is dependent upon compilation and execution (from a data step), use a run statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally, I like to use them all of the time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 21:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/run/m-p/58928#M6028</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-09T21:37:19Z</dc:date>
    </item>
  </channel>
</rss>

