BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
qc1
Fluorite | Level 6 qc1
Fluorite | Level 6
I run a program to create tables. But I got errors like this:
“Error: Expecting page 43290, got page -1 instead.
Error: Page validation error while reading libname.tablename.DATA.
Error: File libname.tablename.DATA is damaged. I/O processing did not complete.
Note: compressed is 43289 pages; “

I used below code to repair the table:
Proc datasets lib=libname;
Repair tablename / encryptkey=secret;
Run;
Quit;

No errors for Proc dataset step and it seems like worked. But that table still cannot be query.

What code I should use to fix it? Please provide an example.

Please help! You will be gratefully appreciated!
1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

This is usually an indication you have either run out of disk space or that there are hardware problems with your storage. What type of SAS installation are you running on. A PC, a remote SAS server, or on a cloud-based platform?   

View solution in original post

4 REPLIES 4
SASKiwi
PROC Star

This is usually an indication you have either run out of disk space or that there are hardware problems with your storage. What type of SAS installation are you running on. A PC, a remote SAS server, or on a cloud-based platform?   

qc1
Fluorite | Level 6 qc1
Fluorite | Level 6
I run it on a remote SAS server, using SASEG7.15
SASKiwi
PROC Star

In that case I suggest you talk to your SAS administrator or IT help desk about fixing this. If appropriate a restore from the last good backup might be the way to go.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1425 views
  • 1 like
  • 3 in conversation