BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
esbabu
Fluorite | Level 6

Hello
I am trying to understand how SAS / SAS EG performs disk operations such as read/write,create/delete folders /files etc
Does it directly access disk and does read write OR it passes on the request to the OS which in turn performs these operations.

I would appreciate if the community enlightens on this.

1 ACCEPTED SOLUTION

Accepted Solutions
Sajid01
Meteorite | Level 14

Hello @esbabu 
All interaction with the hardware is  through the operating system in general and specifically the kernel. There could be exceptions but this is the general rule.
So any application that sits on top of the OS, simply speaking, typically passes the request for hardware action to the OS.

SAS is something that is installed on top of the OS. Therefore all request would be routed through OS.

View solution in original post

4 REPLIES 4
AlanC
Barite | Level 11

SAS EG is written in C#/.NET Framework. In general, it should use those mechanisms for anything local to the exe. However, SAS jobs are submitted to a SAS server so that is where SAS, the system, takes over and handles stuff within SAS.  

 

C#/.NET Framework is pretty tied to Windows. Under the covers, I am pretty sure Framework uses O/S calls. It changed under Core, but this is Framework. If you want lower-level details, I would research .NET Framework. 

https://github.com/savian-net
SASKiwi
PROC Star

EG is just a user interface. All of the SAS processing done via EG happens in the SAS server EG connects to. Most EG users connect to a remote SAS server which contains a SAS session where all processing occurs. It is also possible to use a local SAS server on your PC if it has a complete installation of SAS and not just EG.

Sajid01
Meteorite | Level 14

Hello @esbabu 
All interaction with the hardware is  through the operating system in general and specifically the kernel. There could be exceptions but this is the general rule.
So any application that sits on top of the OS, simply speaking, typically passes the request for hardware action to the OS.

SAS is something that is installed on top of the OS. Therefore all request would be routed through OS.

Kurt_Bremser
Super User

All disk operations are done by calling the operating systems kernel routines; this is fact in all real operating systems (z/OS, UNIX) and Windows versions derived from NT 4.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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