<?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: How to use first.variable to get the following output? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137910#M2097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;P&gt;CAN U JUST EXPLAIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 08:10:24 GMT</pubDate>
    <dc:creator>venkatnaveen</dc:creator>
    <dc:date>2014-09-10T08:10:24Z</dc:date>
    <item>
      <title>How to use first.variable to get the following output?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137908#M2095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data a;&lt;BR /&gt; Infile cards;&lt;BR /&gt; Input subid name$;&lt;BR /&gt; Cards;&lt;BR /&gt; 101 ashu&lt;SPAN class="text_exposed_show"&gt;&lt;BR /&gt; 102 navee&lt;BR /&gt; 103 uday&lt;BR /&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Data b;&lt;BR /&gt; Infile cards;&lt;BR /&gt; Input subid name$;&lt;BR /&gt; Cards;&lt;BR /&gt; 201ashok&lt;BR /&gt; 202 nav&lt;BR /&gt; 203 ram&lt;BR /&gt; ;&lt;/P&gt;&lt;P&gt; Data c;&lt;BR /&gt; Infile cards;&lt;BR /&gt; Input subid name$;&lt;BR /&gt; Cards;&lt;BR /&gt; 301 rathna&lt;BR /&gt; 302 vijju&lt;BR /&gt; 303 abhi&lt;BR /&gt; ;&lt;/P&gt;&lt;P&gt; i want output like this&lt;/P&gt;&lt;P&gt; 101 ashu&lt;BR /&gt; 201ashok&lt;BR /&gt; 301 rathna&lt;BR /&gt; 102 navee&lt;BR /&gt; 202 nav&lt;BR /&gt; 302 vijju&lt;BR /&gt; 103 uday&lt;BR /&gt; 203 ram&lt;BR /&gt; 303 abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 06:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137908#M2095</guid>
      <dc:creator>venkatnaveen</dc:creator>
      <dc:date>2014-09-10T06:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use first.variable to get the following output?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137909#M2096</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;You don't need first.variable. The following should do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set a;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;set b;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;set c;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 07:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137909#M2096</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2014-09-10T07:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use first.variable to get the following output?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137910#M2097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;P&gt;CAN U JUST EXPLAIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 08:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137910#M2097</guid>
      <dc:creator>venkatnaveen</dc:creator>
      <dc:date>2014-09-10T08:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use first.variable to get the following output?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137911#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SET statement reads the current observation from the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OUTPUT statement tells SAS to write the current observation to a SAS data set immediately, not at the end of the DATA step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 08:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137911#M2098</guid>
      <dc:creator>RaviKommuri</dc:creator>
      <dc:date>2014-09-10T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use first.variable to get the following output?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137912#M2099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 18:30:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-use-first-variable-to-get-the-following-output/m-p/137912#M2099</guid>
      <dc:creator>venkatnaveen</dc:creator>
      <dc:date>2014-09-10T18:30:19Z</dc:date>
    </item>
  </channel>
</rss>

