<?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: DATA STEP in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114198#M31626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try running this little step to see how it works in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put 'BEFORE ' _n_= age= eof=;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have end=eof ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put 'AFTER&amp;nbsp; ' _n_= age= eof=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 22:32:23 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-04-19T22:32:23Z</dc:date>
    <item>
      <title>DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114196#M31624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi,&lt;/P&gt;&lt;P&gt;For ex i have &lt;STRONG&gt;4&lt;/STRONG&gt; records in a dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data demog;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have dataset has these 4 records&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;name&amp;nbsp; age&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;kevin&amp;nbsp;&amp;nbsp; 23&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;peter&amp;nbsp;&amp;nbsp; 28&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;louis&amp;nbsp;&amp;nbsp; 33&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first the Input buffer is set blank or missing accordingly.&lt;/P&gt;&lt;P&gt;it reads the first observation writes to the dataset&lt;/P&gt;&lt;P&gt;It then goes to the beginning of the datastep. NOW&amp;nbsp; how will SAS know&amp;nbsp; that it has already read the first one AFTER RETURNING TO THE BEGINNING OF THE DATA STEP????&lt;/P&gt;&lt;P&gt;Could someone tell me the process how it works??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 21:17:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114196#M31624</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-04-19T21:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114197#M31625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that,,,I went back to my Basics and learnt that it is because of the _n_=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 21:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114197#M31625</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-04-19T21:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114198#M31626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try running this little step to see how it works in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put 'BEFORE ' _n_= age= eof=;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have end=eof ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put 'AFTER&amp;nbsp; ' _n_= age= eof=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 22:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATA-STEP/m-p/114198#M31626</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-04-19T22:32:23Z</dc:date>
    </item>
  </channel>
</rss>

