DATA Step, Macro, Functions and more

SAS Dataset Read Errors

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

SAS Dataset Read Errors

I'm receiving errors trying to read SAS datasets into base SAS 9.4 using the libname statement and data step. I have received different errors on separate runs of the same code, which I'll paste below. It's not the data itself because I've received these errors on a number of unrelated SAS datasets.

 

ERROR: File JDRF.ANALYSIS_3_2_17.DATA is damaged. I/O processing did not complete.

 

ERROR: Invalid header on file JDRF.ANALYSIS_3_2_17.DATA.

 

ERROR: Windows error code: 50 in hc_disk_normal_read for V:\research\Alwood\JDRF ACC\Mark
Peakman Data\analysis_3_2_17.sas7bdat, The request is not supported.
85 data biomarkers;
86 set jdrf.analysis_3_2_17;
ERROR: File JDRF.ANALYSIS_3_2_17.DATA is damaged. I/O processing did not complete.

 

An example of the code I'm using is below:

 

libname jdrf "V:\research\Alwood\JDRF ACC\Mark Peakman Data";

data biomarkers;
set jdrf.analysis_3_2_17;
run;

 

Any assistance in resolving this matter will be greatly appreciated!


Accepted Solutions
Solution
‎05-17-2017 11:20 AM
Super User
Posts: 10,046

Re: SAS Dataset Read Errors

Posted in reply to lyssaw519

Try REPAIR it. 

 

 

libname x v9 '/folders/myfolders/';

proc datasets lib=x;
repair have2 ;
quit;

View solution in original post


All Replies
Solution
‎05-17-2017 11:20 AM
Super User
Posts: 10,046

Re: SAS Dataset Read Errors

Posted in reply to lyssaw519

Try REPAIR it. 

 

 

libname x v9 '/folders/myfolders/';

proc datasets lib=x;
repair have2 ;
quit;
New Contributor
Posts: 2

Re: SAS Dataset Read Errors

That worked, thanks so much!!!

☑ This topic is solved.

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

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