<?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 program execution in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298148#M62670</link>
    <description>&lt;P&gt;I wonder how this program executes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data want;
	set have1;
	by var1 var2;

	do n = 1 to nobs;
		do m = 1 to mobs;
			set have2 point = n nobs = nobs;
			set have3 point = m nobs = mobs;

			output;
		end;
	end;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 20:52:52 GMT</pubDate>
    <dc:creator>SAS_inquisitive</dc:creator>
    <dc:date>2016-09-13T20:52:52Z</dc:date>
    <item>
      <title>program execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298148#M62670</link>
      <description>&lt;P&gt;I wonder how this program executes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data want;
	set have1;
	by var1 var2;

	do n = 1 to nobs;
		do m = 1 to mobs;
			set have2 point = n nobs = nobs;
			set have3 point = m nobs = mobs;

			output;
		end;
	end;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 20:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298148#M62670</guid>
      <dc:creator>SAS_inquisitive</dc:creator>
      <dc:date>2016-09-13T20:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: program execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298154#M62672</link>
      <description>&lt;P&gt;I would recommend making three datasets with just a few observations each and see for yourself. &amp;nbsp;Try putting a PUT statement before the OUTPUT statement. That is especially useful for looking at the values of M, N and _N_ which will not be in the WANT dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 21:18:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298154#M62672</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-09-13T21:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: program execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298223#M62699</link>
      <description>&lt;P&gt;This seems to do a complete cartesian join over all three datasets, in a very complicated and inefficient manner. Would need some test data to verify that.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 05:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/program-execution/m-p/298223#M62699</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-09-14T05:52:35Z</dc:date>
    </item>
  </channel>
</rss>

