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.
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.
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.
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.
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.
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.
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.
Ready to level-up your skills? Choose your own adventure.