<?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: proc means in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523830#M142375</link>
    <description>&lt;P&gt;Thank you novinosrin, I'll review this links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rodolfo.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Dec 2018 16:36:46 GMT</pubDate>
    <dc:creator>rodolfo_1</dc:creator>
    <dc:date>2018-12-29T16:36:46Z</dc:date>
    <item>
      <title>proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523817#M142368</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While running next code I realized that if I specify the data or not in the proc means statement, the result and the log is the same, however, I can't find documentation about this behavior, since all the information states that data should be entered, Could you please let me know if this is a normal behaivor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data VS;&lt;BR /&gt;input id sbp dbp sex $ age wt;&lt;BR /&gt;datalines;&lt;BR /&gt;1 120 80 M 15 115&lt;BR /&gt;2 130 70 F 25 180&lt;BR /&gt;3 140 100 M 89 170&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*same result if&amp;nbsp;&lt;SPAN&gt;proc means data=VS; is entered;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 06:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523817#M142368</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2018-12-29T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523818#M142369</link>
      <description>&lt;P&gt;SAS procedures that require input datasets with a data= option will automatically use the last created dataset if no such option is specified.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=proc&amp;amp;docsetTarget=n0n5mm9l2pmpevn1lsjqccmgp8tx.htm&amp;amp;locale=en#n0n66gz9cfsh6fn18i3m9no0uiw5" target="_blank"&gt;Input Datasets&lt;/A&gt;&amp;nbsp;in the documentation.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 07:01:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523818#M142369</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-29T07:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523819#M142370</link>
      <description>&lt;P&gt;Please take a look at the below 2 links that gives some insight. Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000210371.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a000210371.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279128.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279128.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically SAS references the most recently created dataset as set in&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;&lt;A name="a000279128" target="_blank"&gt;&lt;/A&gt;_LAST_= System Option&amp;nbsp;&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/235651"&gt;@rodolfo_1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While running next code I realized that if I specify the data or not in the proc means statement, the result and the log is the same, &lt;STRONG&gt;however, I can't find documentation about this behavior,&lt;/STRONG&gt; since all the information states that data should be entered, Could you please let me know if this is a normal behaivor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data VS;&lt;BR /&gt;input id sbp dbp sex $ age wt;&lt;BR /&gt;datalines;&lt;BR /&gt;1 120 80 M 15 115&lt;BR /&gt;2 130 70 F 25 180&lt;BR /&gt;3 140 100 M 89 170&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc means;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*same result if&amp;nbsp;&lt;SPAN&gt;proc means data=VS; is entered;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 07:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523819#M142370</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-12-29T07:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523829#M142374</link>
      <description>&lt;P&gt;Thank you Kurt&lt;SPAN class="login-bold"&gt;&amp;nbsp;this information was what I needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Rodolfo.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 16:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523829#M142374</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2018-12-29T16:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523830#M142375</link>
      <description>&lt;P&gt;Thank you novinosrin, I'll review this links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rodolfo.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 16:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523830#M142375</guid>
      <dc:creator>rodolfo_1</dc:creator>
      <dc:date>2018-12-29T16:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523836#M142378</link>
      <description>&lt;P&gt;Seems be documented to me.&amp;nbsp; Here is link to syntax documentation.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1qnc9bddfvhzqn105kqitnf29cp.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1qnc9bddfvhzqn105kqitnf29cp.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DATA= option is listed as optional.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 461px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25908i3C440224390B47CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Clicking on that DATA= link goes to this more detailed section:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25909iA9E7A9DC86412196/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Clicking on that Input Data Sets link goes to this comment:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 class="xis-title"&gt;Input Data Sets&lt;/H2&gt;
&lt;DIV id="n1ff7a4ey79ckan1jnjfc8im1imn" class="xis-topicContent"&gt;
&lt;DIV id="p0ynaibb9y6kq9n13qewgr25wp0k" class="xis-paragraph"&gt;Many Base SAS procedures require an input SAS data set. You specify the input SAS data set by using the DATA= option in the procedure statement, as in this example:&lt;/DIV&gt;
&lt;DIV id="n0468tv9bqp9cjn10pe9ang9xtyz" class="xis-codeBlock"&gt;
&lt;PRE class="xis-code"&gt;proc print data=emp;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV id="n1lcmr7u69508kn1vtrdvzcgm5im" class="xis-paragraph"&gt;If you omit the DATA= option, the procedure uses the value of the SAS system option _LAST_=. The default of _LAST_= is the most recently created SAS data set in the current SAS job or session. _LAST_= is described in detail in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-xrefBookTitle"&gt;SAS Data Set Options: Reference&lt;/SPAN&gt;.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 18:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means/m-p/523836#M142378</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-12-29T18:04:35Z</dc:date>
    </item>
  </channel>
</rss>

