BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Analyticguru_09
Fluorite | Level 6

I'm running the below code on sas 9.3 and encountering error message

Please let me know how to trouble shoot it

libname abc "xyz\abc\sample";

proc sort data = abc.accinfo out = accinfo_accts;

by acct_no key_id;

run;

Error:Expecting page 5172, got page -1 instead

Error: Page validation error while reading abc.accinfo

Error: File abc.accinfo.data is damaged.I/O Processing did not complete.

Note: The sas system stopped processing this step because of errors

Note: There was 134234343 observations read from the data set abc.accinfo

Warning: The data set work.accinfo_accts may be incomplete. When this step was stopped there were 134234343 observations and 20 variables


1 ACCEPTED SOLUTION

Accepted Solutions
Doc_Duke
Rhodochrosite | Level 12

file abc.accinfo is damaged.  You may need to restore it from backup.  If the libname abc is on your local C: drive, check that the drive is not damaged.

View solution in original post

1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12

file abc.accinfo is damaged.  You may need to restore it from backup.  If the libname abc is on your local C: drive, check that the drive is not damaged.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 14169 views
  • 0 likes
  • 2 in conversation