<?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: base sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377704#M90722</link>
    <description>I agree with you, but this is my institute question , that is why i posted .</description>
    <pubDate>Thu, 20 Jul 2017 11:36:18 GMT</pubDate>
    <dc:creator>shivamarrora0</dc:creator>
    <dc:date>2017-07-20T11:36:18Z</dc:date>
    <item>
      <title>base sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377687#M90712</link>
      <description>&lt;P&gt;Hi all i have data in vertical format i want it in horizontal format without using proc transpose with simple approch&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10421i675E9ACAE587CB68/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="have.PNG" title="have.PNG" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10422iFCE868A408F40862/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="want.PNG" title="want.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377687#M90712</guid>
      <dc:creator>shivamarrora0</dc:creator>
      <dc:date>2017-07-20T10:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: base sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377696#M90717</link>
      <description>&lt;P&gt;Why not proc transpose? It is the right tool for the job. &amp;nbsp; &amp;nbsp;You could easily use a data step that will be something like this.&amp;nbsp;If you provided the data in a form I could copy, I could test the code, but since you didn't I'll leave it to you to fill in the details&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;set;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;by notsorted cust;&lt;/P&gt;
&lt;P&gt;retain checking mortage saving credit_card;&lt;/P&gt;
&lt;P&gt;if account = 'checking' then checking = balance;&lt;/P&gt;
&lt;P&gt;... three more obvious if then assignments to make the other variables ...&lt;/P&gt;
&lt;P&gt;if last.cust then output;&lt;/P&gt;
&lt;P&gt;drop account balance;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are other ways, of course, to do this.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:02:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377696#M90717</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-07-20T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: base sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377697#M90718</link>
      <description>&lt;P&gt;You do that with proc transpose, period. Use the right tool for the task.&lt;/P&gt;
&lt;P&gt;Anything else would involve a lot of meta-programming to make it flexible vis the values in account, and therefore be stupid.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377697#M90718</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-20T11:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: base sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377704#M90722</link>
      <description>I agree with you, but this is my institute question , that is why i posted .</description>
      <pubDate>Thu, 20 Jul 2017 11:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377704#M90722</guid>
      <dc:creator>shivamarrora0</dc:creator>
      <dc:date>2017-07-20T11:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: base sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377707#M90723</link>
      <description>&lt;P&gt;You already got a blueprint from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16777"&gt;@WarrenKuhfeld&lt;/a&gt;, adapt it to your needs, but you will have to expand that code everytime a new value in account appears.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/base-sas/m-p/377707#M90723</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-20T11:42:16Z</dc:date>
    </item>
  </channel>
</rss>

