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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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