Hi all,
Yesterday I ran a SAS program in SAS Enterprise Guide that ended up running for a couple of hours. This was my first time working with this dataset, so I didn’t really know how long it was supposed to take, but I was pretty sure it shouldn’t have taken that long.
While it was running, I checked the gear icon in the bottom-right corner of SAS Enterprise Guide, but all it showed was that it was “Running” and the start time—no other details or progress. I eventually cancelled the run, but then the program got stuck on “Stopping.” I had to force-close SAS Enterprise Guide using Task Manager.
After restarting SAS Enterprise Guide, I ran the same program again and it finished in about 16 minutes, so it looks like the first run had stalled or crashed.
For future runs, is there a good way to tell whether a SAS program is actually still running because it’s processing a large dataset, or if it’s become unresponsive or crashed? Any tips would be appreciated.
Thanks!
oh I found an easy way to tell if (at least for Data Step) if it is still running or not is to check the LCK file is getting larger or not.
Please note that when using a remote SAS server it can be quite normal to have large variations in run time with the same program and data. This is because you are sharing the server with other users and if it is heavily loaded then program run times can take a lot longer than usual. The way you are monitoring the size of your lck SAS files is a good one.
Nearly 200 sessions are now available on demand in the Innovate Hub.
Watch Now →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.