BookmarkSubscribeRSS Feed
hellohere
Pyrite | Level 9

anyone knows  the one below?

ERROR:  Windows error code: 21 in hc_disk_normal_read for
                          E:\sastemp\_TD16080_LAPTOP-LF4NQTV2_\sastmp-000000005.sas7butl

Work with pc/sas, ever session to restart sas, get this and need reboot sas.

5 REPLIES 5
yabwon
Amethyst | Level 16

Do you have any backup program working in the background? The "hc_disk_normal_read" sounds like a lock, or something similar. 

But I guess SAS team can give you more insights. 

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



ChrisHemedinger
Community Manager

Assuming E: is a network drive or an occasionally connected drive (like an external drive), the error message usually indicates that SAS cannot reach the location. Maybe that drive that became unmapped or unavailable for some reason...

Register Now! SAS Innovate 2027: registration is now open!
Quentin
Super User

Weird.  Can you show more of your log?  Is it just one step that causes this error message?  Is it a SORT step, PROC SQL step, DATA step....

 

When you restart do you get this error every time the first step runs that reads from disk, or does it change as to which step throws an error?

The Boston Area SAS Users Group is hosting free webinars!

Register now at https://www.basug.org/events.
DaveHorne
SAS Employee

Hi, a couple of comments/suggestions:

 

From the path, this looks like the SASWORK location, and it's strongly recommended to be on a fast local drive for best performance and reliability (NVME, SATA SSD, striped RAID array even).  The SAS utility files are heavy on I/O and having saswork on the network can lead to a performance bottleneck (and dependence on other potential network "issues").

 

On Windows, I tend to avoid mapped drives in general (use the full path to the network location which is less sensitive to Windows drive mapping reliability).  Plus, your SAS job will be more "portable" if run on a different PC or server.  If it's a long path, perhaps set a macro variable at the beginning of your program to make it easier in subsequent libname or file path locations.

 

Depending on your code, there may be other options to reduce or minimize I/O.

 

Hope this helps.

 

/Dave
SAS9 Windows Infrastructure

AI Navigator GIF.gif


Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.

Check it out on Microsoft Marketplace →

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
  • 5 replies
  • 209 views
  • 2 likes
  • 6 in conversation