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!
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
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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.