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
Opal | Level 21

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
Opal | Level 21

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
Opal | Level 21

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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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