<?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 Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82123#M23636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OOPs. I used autoname this time and it worked out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paige&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=grafts nway noprint;&lt;/P&gt;&lt;P&gt;var age;&lt;/P&gt;&lt;P&gt;output out=mean_grafts n= mean= std= median= min= max=/autoname;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2012 18:09:35 GMT</pubDate>
    <dc:creator>robertrao</dc:creator>
    <dc:date>2012-10-01T18:09:35Z</dc:date>
    <item>
      <title>Proc Means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82121#M23634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;When i run this code I get a WARNING!!!!!&lt;/P&gt;&lt;P&gt;Could you explain please where I went wrong???&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=grafts nway noprint;&lt;/P&gt;&lt;P&gt;var age;&lt;/P&gt;&lt;P&gt;output out=mean_grafts n= mean= std= median= min= max=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Variable AGE already exists on file WORK.MEAN_GRAFTS.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: Variable AGE already exists on file WORK.MEAN_GRAFTS.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: Variable AGE already exists on file WORK.MEAN_GRAFTS.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: Variable AGE already exists on file WORK.MEAN_GRAFTS.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: Variable AGE already exists on file WORK.MEAN_GRAFTS.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: The duplicate variables will not be included in the output data set of the output&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement number 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 18:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82121#M23634</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-01T18:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82122#M23635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOur output statement is trying to assign the variable name AGE to the results of N=, and then it is trying to assign the variable name AGE to the results of MEAN=, and so on. Can't be done. You can't have multiple variables named AGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to give each of the statistics that you request in your OUTPUT statement a distinct name, or use the /autoname option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 18:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82122#M23635</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2012-10-01T18:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82123#M23636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OOPs. I used autoname this time and it worked out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paige&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=grafts nway noprint;&lt;/P&gt;&lt;P&gt;var age;&lt;/P&gt;&lt;P&gt;output out=mean_grafts n= mean= std= median= min= max=/autoname;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 18:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Means/m-p/82123#M23636</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-01T18:09:35Z</dc:date>
    </item>
  </channel>
</rss>

