<?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: what is the method in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170471#M44062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc transpose data =have out=want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by year;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var x;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why you would want the columns label x y z etc. its not really conducive to further processing.&amp;nbsp; Having variables with a numeric suffix allows you to use lists e.g.&lt;/P&gt;&lt;P&gt;array data_to_process {3} col1-col3;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 13:29:48 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-02-16T13:29:48Z</dc:date>
    <item>
      <title>what is the method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170469#M44060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all, &lt;/P&gt;&lt;P&gt;i have the data like this&lt;/P&gt;&lt;P&gt;year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 75&lt;/P&gt;&lt;P&gt;now i want the output like&lt;/P&gt;&lt;P&gt;year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 75&lt;/P&gt;&lt;P&gt;can any one suggest me&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 12:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170469#M44060</guid>
      <dc:creator>Ravikumarkummari</dc:creator>
      <dc:date>2015-02-16T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: what is the method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170470#M44061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One "method" would be to process your data set by year and then only output when you get to the last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Documentation on by processing can be found below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#p0yeyftk8ftuckn1o5qzy53284gz.htm" title="https://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#p0yeyftk8ftuckn1o5qzy53284gz.htm"&gt;SAS(R) 9.4 Statements: Reference, Third Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Also, would there only ever be 2 observations per year in your original data set?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 13:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170470#M44061</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2015-02-16T13:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: what is the method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170471#M44062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc transpose data =have out=want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by year;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var x;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why you would want the columns label x y z etc. its not really conducive to further processing.&amp;nbsp; Having variables with a numeric suffix allows you to use lists e.g.&lt;/P&gt;&lt;P&gt;array data_to_process {3} col1-col3;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 13:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-is-the-method/m-p/170471#M44062</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-02-16T13:29:48Z</dc:date>
    </item>
  </channel>
</rss>

