<?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: Table.DATA is damaged in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511519#M15862</link>
    <description>&lt;P&gt;Do you get errors reading the table in SAS code? Try running this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  set MyLib.MyTable;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 Nov 2018 20:18:10 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-11-08T20:18:10Z</dc:date>
    <item>
      <title>Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511413#M15858</link>
      <description>&lt;P&gt;I have a table that I open in SAS and I noticed that when I scroll to about halfway through the table, the rest of the rows will have an error message on all of the columns stating:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&amp;lt;?xml version="1.0" ?&amp;gt;&amp;lt;Exceptions&amp;gt;&amp;lt;Exception&amp;gt;&amp;lt;SAS Message severity="Error&amp;gt;&amp;nbsp;File myTable.DATA is damaged. &amp;lt;/SASMessage&amp;gt;&amp;lt;/Exception&amp;gt;&amp;lt;/Exceptions&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This appears in every column and every row starting at about halfway through the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I go to hover over any of the damanged rows, I get a popup that states:&amp;nbsp;&lt;STRONG&gt;SAS Enterprise Guide has encountered a problem. We reccommend hat you save your work and restart SAS Enterprise Guide.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I restart it, the same thing will happen. The data never gets fixed. It has around 7 million rows but I can open much bigger tables without a problem. Any help towards fixing this issue is greatly appreciated!&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Nov 2018 15:36:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511413#M15858</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-08T15:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511422#M15859</link>
      <description>This sounds like a SAS Tech Support question.</description>
      <pubDate>Thu, 08 Nov 2018 16:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511422#M15859</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-08T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511434#M15860</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243552"&gt;@jim_toby&lt;/a&gt;, here's a handy link to open a Technical Support track:&amp;nbsp;&lt;A href="https://support.sas.com/en/technical-support/contact-sas.html" target="_blank"&gt;https://support.sas.com/en/technical-support/contact-sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:32:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511434#M15860</guid>
      <dc:creator>AnnaBrown</dc:creator>
      <dc:date>2018-11-08T16:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511519#M15862</link>
      <description>&lt;P&gt;Do you get errors reading the table in SAS code? Try running this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  set MyLib.MyTable;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Nov 2018 20:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511519#M15862</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-11-08T20:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511665#M15864</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;I get the following errors when I run the code you provided:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Expecting page 140289, got page -1 instead&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Page validation error while reading libname.Table.DATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: File libname.Table.DATA is damanged. I/O processing did not complete&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511665#M15864</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-09T13:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511743#M15865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243552"&gt;@jim_toby&lt;/a&gt;, one other thing to try is proc datasets repair:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=MyLib;
  repair MyTable;
 quit;                                                                                                                                  
run;                                                                                                                                    

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Nov 2018 17:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511743#M15865</guid>
      <dc:creator>DaveHorne</dc:creator>
      <dc:date>2018-11-09T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511767#M15867</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/100"&gt;@DaveHorne&lt;/a&gt;&amp;nbsp;thanks for the suggestion. I tried that and it ran fine. However, it didnt fix the issue I was having.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 18:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511767#M15867</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-09T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table.DATA is damaged</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511841#M15887</link>
      <description>&lt;P&gt;When did this table become damaged? Firstly, I would request a restore from backup (assuming here you have backups) of this table prior to when it got damaged. Secondly, construct a new undamaged table by running code like this to work around where the damaged row(s) are (set the nnnnnn to a row number just before the first damaged row):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data newtable;
  set Mylib.DamagedTable (firstobs = 1 obs = nnnnnn);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Nov 2018 21:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Table-DATA-is-damaged/m-p/511841#M15887</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-11-09T21:29:25Z</dc:date>
    </item>
  </channel>
</rss>

