Sometimes when I double-click on a SAS program file, I get an automation error and SAS will not start. I have to kill a 'ghost' sas process which is still running in order to start SAS. The ghost process seems to appear after I've used the Help function within SAS. Any suggestions? (I'm running 9.4TS1M3 on Windows 7 x64).
Sounds like this could be an issue for SAS Technical Support.
Did you look if such a failed batch run leaves a log file?
No log file (this is opening in interactive mode).
So it looks as if the typical SAS batch job execution fails. Since you mentioned a "ghost", could it be that the ghost is already running in the background (because you used the help beforehand?) and confuses Windows into trying to use that SAS process instead of starting a new one cleanly?
Forcing Windows to always start a new SAS process in batch mode will probably involve some tinkering with the registry (ugh).
On windows double clicking on a .sas file typically opens SAS up in interactive mode. I'm not trying to run batch. I think the puzzle is why if I quit SAS (after using help), a sas process stays running.
@BruceBrad wrote:
I think the puzzle is why if I quit SAS (after using help), a sas process stays running.
If that's your problem, this smells like a case for SAS TS. I won't be of much help here, as I run SAS on UNIX(AIX).
Earlier this year, I went from Windows 7 to 10. That is when the problem started for me. It only happens when I have used Help. Did you ever get a resolution to your posting?
From memory, I've experienced it on machines with both Win 7 and Win 10. Yes, it is associated with using the Help feature. I haven't encountered it recently - so I think upgrading SAS to 9.4 TS1M5 fixed it.
Thanks for your reply to my posting. I've been trying to get our IT department to install that release, but they are very hesitant. Hopefully this situation will encourage them to do the install.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.