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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 1 reply
  • 14317 views
  • 0 likes
  • 2 in conversation