<?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: SAS dataset gets reduced after code gets executed in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606128#M17352</link>
    <description>&lt;P&gt;Can you post the log please? There is nothing in your code that subsets the number of observations.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 13:45:21 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-11-21T13:45:21Z</dc:date>
    <item>
      <title>SAS dataset gets reduced after code gets executed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606126#M17351</link>
      <description>&lt;P&gt;I have a dataset which initially has more than 8000 rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I execute the following SAS code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;BR /&gt;data have2;&lt;BR /&gt;set initial_dataset;&lt;BR /&gt;/* Since beginning is always equal to 1, I don't use it here in my code */&lt;BR /&gt;if /* beginning=1 and */ end=2 then flag=1;&lt;BR /&gt;else flag=0;&lt;BR /&gt;run;&lt;BR /&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the resulting dataset (have2) only has 10 rows. Why is this the case and how can I fix it?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:43:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606126#M17351</guid>
      <dc:creator>adrfinance</dc:creator>
      <dc:date>2019-11-21T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset gets reduced after code gets executed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606128#M17352</link>
      <description>&lt;P&gt;Can you post the log please? There is nothing in your code that subsets the number of observations.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606128#M17352</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-11-21T13:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset gets reduced after code gets executed</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606133#M17353</link>
      <description>&lt;P&gt;This could happen if this statement appears anywhere within your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs=10;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Much less likely, this would cause similar trouble:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options firstobs=7991;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Other than that, we are left with the possibility of investigating the data further to find out if the incoming data set really contains 8000 observations.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-dataset-gets-reduced-after-code-gets-executed/m-p/606133#M17353</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-11-21T13:54:31Z</dc:date>
    </item>
  </channel>
</rss>

