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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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
  • 367 views
  • 1 like
  • 3 in conversation