<?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: ERROR: Attempt to reference a page past end-of-file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755409#M238391</link>
    <description>&lt;P&gt;Usually that means the file is corrupted. Perhaps you copied it from somewhere and only part of the file actually made it.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 16:52:18 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-07-20T16:52:18Z</dc:date>
    <item>
      <title>ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755376#M238375</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am encountering an error I have not seen before. I am getting this error after double clicking on the file in my file explorer. I was sent six SAS datasets that are all similar and two of them are producing this error, the others open normally. I have plenty of disk space, have restarted everything and redownloaded the datasets. Any thoughts on what to do? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smg3141_0-1626791191224.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61424i4E2D56BBB9360DDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smg3141_0-1626791191224.png" alt="smg3141_0-1626791191224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755376#M238375</guid>
      <dc:creator>smg3141</dc:creator>
      <dc:date>2021-07-20T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755379#M238376</link>
      <description>&lt;P&gt;Did you assign a library to folder with those data sets before attempting to open them? If not that may help or may allow more options to examine them.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755379#M238376</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-20T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755386#M238377</link>
      <description>&lt;P&gt;Thanks for the reply, I hadn't tried that. Still getting the error though. These are the errors I got when I tried to run a proc contents on the file and just double clicking in the file explorer after assigning the library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smg3141_0-1626792617299.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61427i68BD41E98548E2AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smg3141_0-1626792617299.png" alt="smg3141_0-1626792617299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smg3141_1-1626792636084.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61428iA553851EE26D840D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smg3141_1-1626792636084.png" alt="smg3141_1-1626792636084.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755386#M238377</guid>
      <dc:creator>smg3141</dc:creator>
      <dc:date>2021-07-20T14:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755399#M238383</link>
      <description>&lt;P&gt;Long shot here: what version of SAS are you running? And is it 32-bit?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are running SAS 9.3 or earlier it may be having difficulties with reading one of the header record values to accommodate larger data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run this code:&lt;/P&gt;
&lt;PRE&gt;proc options option=extendobscounter;run;&lt;/PRE&gt;
&lt;P&gt;If you get a message that the option doesn't exist (SAS 9.3 and earlier I think) that could be the problem: version of SAS.&lt;/P&gt;
&lt;P&gt;If the log shows it is set to NO instead of Yes like this&lt;/P&gt;
&lt;PRE&gt; EXTENDOBSCOUNTER=YES
                   Specifies whether to extend the maximum number of observations in a new SAS
                   data file.
&lt;/PRE&gt;
&lt;P&gt;you might be able to address this problem by setting the sytem option to EXTENDOBSCOUNTER=YES using the Options statement. As I say, this is sort of a long-shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 15:57:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755399#M238383</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-20T15:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755409#M238391</link>
      <description>&lt;P&gt;Usually that means the file is corrupted. Perhaps you copied it from somewhere and only part of the file actually made it.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 16:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755409#M238391</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-20T16:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755515#M238430</link>
      <description>&lt;P&gt;Datasets may be corrupted as pointed&amp;nbsp; by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;Try repairing the datasets as follows&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets lib=Your_library;
   repair the_corrupt_file;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Your_library is the libname of the location where corrupt file exists.&lt;/P&gt;
&lt;P&gt;the_corrupt_file is the name of the corrupt dataset.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 00:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755515#M238430</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-07-21T00:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Attempt to reference a page past end-of-file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755979#M238609</link>
      <description>I was able to open the datasets after running this code, but I lost some of the data. I believe the datasets that were sent to me were corrupt on the sender's end. Thanks for your help!</description>
      <pubDate>Thu, 22 Jul 2021 16:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Attempt-to-reference-a-page-past-end-of-file/m-p/755979#M238609</guid>
      <dc:creator>smg3141</dc:creator>
      <dc:date>2021-07-22T16:06:17Z</dc:date>
    </item>
  </channel>
</rss>

