<?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: Update of Table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139393#M28129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the program and it worked! thanks for helping! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 01:27:15 GMT</pubDate>
    <dc:creator>01SASUser</dc:creator>
    <dc:date>2015-01-28T01:27:15Z</dc:date>
    <item>
      <title>Update of Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139390#M28126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="64"&gt;Col1&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="64"&gt;Col2&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="64"&gt;Col3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;1st&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;2nd&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;3rd&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Info&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Info&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;4th&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is I will update the values of Col2 and Col3 by getting the value of Col2 and Col3 in the next row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, after updating my initial table, it should now look like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 192px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="64"&gt;Col1&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="64"&gt;Col2&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="64"&gt;Col3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;1st&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;2nd&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; Info&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Info &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;3rd&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;4th&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 08:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139390#M28126</guid>
      <dc:creator>01SASUser</dc:creator>
      <dc:date>2015-01-27T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update of Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139391#M28127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;infile datalines truncover;&lt;BR /&gt;input Col1 $ Col2 $ Col3 $ ;&lt;BR /&gt;datalines;&lt;BR /&gt;1st&amp;nbsp;&amp;nbsp; &lt;BR /&gt;2nd&amp;nbsp;&amp;nbsp; &lt;BR /&gt;3rd Info Info &lt;BR /&gt;4th&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;data want;&lt;BR /&gt;merge have(keep=col1) have(drop=col1 firstobs=2);&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 09:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139391#M28127</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2015-01-27T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update of Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139392#M28128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's got to be more rules that could apply to this update, no? What about id/by variables, sort order...?&lt;/P&gt;&lt;P&gt;Unless, you could just copy paste in a view data window....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 12:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139392#M28128</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-01-27T12:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update of Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139393#M28129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the program and it worked! thanks for helping! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 01:27:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-of-Table/m-p/139393#M28129</guid>
      <dc:creator>01SASUser</dc:creator>
      <dc:date>2015-01-28T01:27:15Z</dc:date>
    </item>
  </channel>
</rss>

