DATA Step, Macro, Functions and more

Expecting page, got page -1 instead

Accepted Solution Solved
Reply
Contributor
Posts: 22
Accepted Solution

Expecting page, got page -1 instead

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



Accepted Solutions
Solution
‎06-27-2012 03:41 PM
Trusted Advisor
Posts: 2,113

Re: Expecting page, got page -1 instead

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


All Replies
Solution
‎06-27-2012 03:41 PM
Trusted Advisor
Posts: 2,113

Re: Expecting page, got page -1 instead

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.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 2131 views
  • 0 likes
  • 2 in conversation