Help using Base SAS procedures

Error message

Accepted Solution Solved
Reply
Regular Contributor
Posts: 162
Accepted Solution

Error message

Dear all,

 

I received the following message in "log" window. I will be much appreciate if anyone can explain to me why this will happen? and how to overcome teh problem?

 

Thank you.

 

Mspak

 

 

1152 DATA yr1995_2015; SET cluster.yr1995_2015;
1153 IF CIK = " " THEN DELETE; RUN;

 

ERROR: Expecting page 22215, got page -1 instead.
ERROR: Page validation error while reading CLUSTER.YR1995_2015.DATA.
ERROR: File CLUSTER.YR1995_2015.DATA is damaged. I/O processing did not complete.
NOTE: The DATA step has been abnormally terminated.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 533123 observations read from the data set CLUSTER.YR1995_2015.
WARNING: The data set WORK.YR1995_2015 may be incomplete. When this step was stopped there
were 182244 observations and 1007 variables.
WARNING: Data set WORK.YR1995_2015 was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 39.68 seconds
cpu time 8.54 seconds


Accepted Solutions
Solution
‎02-15-2016 05:01 AM
Super User
Posts: 5,254

Re: Error message

It seems your data set (table) file(s) is/are damaged in some way.

Try REPAIR in PROC DATASETS.

If that doesn't help, you need to either restore it from a backup, or recreate from it's original source.

Data never sleeps

View solution in original post


All Replies
Solution
‎02-15-2016 05:01 AM
Super User
Posts: 5,254

Re: Error message

It seems your data set (table) file(s) is/are damaged in some way.

Try REPAIR in PROC DATASETS.

If that doesn't help, you need to either restore it from a backup, or recreate from it's original source.

Data never sleeps
Regular Contributor
Posts: 162

Re: Error message

Yes. I run the programs again from scratch, it did work!

☑ This topic is SOLVED.

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

Discussion stats
  • 2 replies
  • 395 views
  • 0 likes
  • 2 in conversation