BookmarkSubscribeRSS Feed
gnesshunkin
Calcite | Level 5

Please help!  

 

I have several SAS tables that I'm unable to access.  I'm am receiving a message, "ERROR: Expecting page 6404, got page -1 instead. ERROR: Page validation error while reading...."

 

How do I fix or work around?

 

Thank you!

4 REPLIES 4
ChrisBrooks
Ammonite | Level 13

This error usually occurs when the data set is damaged. Your best bet is to restore it from a known good backup or recreate it.

Reeza
Super User

Can you post an example with the code and log?

 

I sometimes get that message in SAS UE but it usually doesn't affect my data usage. 

 

Have you tried restarting SAS and resetting your library connections to see what happens?

 


@gnesshunkin wrote:

Please help!  

 

I have several SAS tables that I'm unable to access.  I'm am receiving a message, "ERROR: Expecting page 6404, got page -1 instead. ERROR: Page validation error while reading...."

 

How do I fix or work around?

 

Thank you!


 

gnesshunkin
Calcite | Level 5

Below is the code and error.  I've restarted the server but the error continues.  

 

The table is 1,969,163 records...only 800,353 are present when I run the code.

 
 data blah;
 set sas.return;
 run;
 
ERROR: Expecting page 6404, got page -1 instead.
ERROR: Page validation error while reading SAS.RETURN.DATA.
ERROR: File SAS.RETURN.DATA is damaged. I/O processing did not complete.
NOTE: The DATA step has been abnormally terminated.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 800353 observations read from the data set SAS.RETURN.
WARNING: The data set WORK.BLAH may be incomplete. When this step was stopped there were 800353 observations and 106 variables.
NOTE: DATA statement used (Total process time):
real time 0.59 seconds
cpu time 0.57 seconds

 

Reeza
Super User

If you're running a server, you should probably contact SAS Tech Support to help you debug this.

 

Any chance an update or backup process interrupted somehow damaging the tables?

 


@gnesshunkin wrote:

Below is the code and error.  I've restarted the server but the error continues.  

 

The table is 1,969,163 records...only 800,353 are present when I run the code.

 
 data blah;
 set sas.return;
 run;
 
ERROR: Expecting page 6404, got page -1 instead.
ERROR: Page validation error while reading SAS.RETURN.DATA.
ERROR: File SAS.RETURN.DATA is damaged. I/O processing did not complete.
NOTE: The DATA step has been abnormally terminated.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 800353 observations read from the data set SAS.RETURN.
WARNING: The data set WORK.BLAH may be incomplete. When this step was stopped there were 800353 observations and 106 variables.
NOTE: DATA statement used (Total process time):
real time 0.59 seconds
cpu time 0.57 seconds

 


 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 2120 views
  • 0 likes
  • 3 in conversation