BookmarkSubscribeRSS Feed
fferreira
Calcite | Level 5

Hi everybody,

 

I am trying to set 2 datasets together with the codes below:

 

libname in 'D:\June2017_drms_format5';*drms and format5 original data directory;
libname Fernanda 'D:\June2017_drms_format5\Fernanda'; *WORKSTATION results directory;

data in.drmsall;
set in.drmsjune2017
in.drmsfeb2012;
drms = 1;
run;

 

and I am getting the following error on the log window:

 

ERROR: Windows error code: 1 in hx_disk_access for D:\June2017_drms_format5, Incorrect function.
ERROR: User does not have appropriate authorization level for library IN.

 

Here are important info about it:

 

- I assigned the IN library pathway correctly. proc print reads the data just fine.

- I used to run this code on my old computer without any problems.

- I am one of the admin of the computer, so I have full privileges;

- If I try to run creating the dataset on the work library, a different message error occurs:


data drmsall;
set in.drmsjune2017
in.drmsfeb2012;
drms = 1;
run;

ERROR: Windows error code: 1 in hc_disk_normal_read for
D:\June2017_drms_format5\drmsjune2017.sas7bdat, Incorrect function.
ERROR: File IN.DRMSJUNE2017.DATA is damaged. I/O processing did not complete.

 

Does anyone has experience in troubleshooting this problem?

 

Thanks!

 

 

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Did you search these error messages on the web?

Please read to see if this applies to you and report here.

 

Search terms: 

 

ERROR: Windows error code: 1 in hx_disk_access

 

ERROR: Windows error code: 1 in hc_disk_normal_read 

 

fferreira
Calcite | Level 5

Hi Chris,

 

yes I did, but I could not find anything online related to error 1.

 

However, I'd like to post the solution here: both my 1TB HDs were in bad shape (I had just bought a brand new computer from Dell). This is why SAS could not make any changes on the libraries assigned to the HDs. I talked to them and they replaced both HD. Aparently it is working fine now.

 

Thank you all,

 

Fernanda

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2 replies
  • 1848 views
  • 0 likes
  • 2 in conversation