I am running using an Auto Exec program to run an hourly data quality report that runs when I am not in the office. I need a way to close out the Enterprise Guide window at the end of the macro so the next hour my system scheduler can open a batch file that runs the Auto Exec process flow on my SAS Enterprise Guide project.
This is all to replace the process of setting up multiple Window Task Scheduler task to kill the SAS EG process.
Thanks!
Eric
You can use the ENDSAS command which will kills the sas session, but leave EG open.
//Fredrik
An hourly SAS job can be more reliably scheduled on your SAS remote server (assuming you have one) and then you wouldn't have this issue. SAS Management Console provides a point-and-click interface to schedule server-based jobs. You would have to export your EG project to SAS code to do this though.
Alternatively use the Schedule Project option in EG, not an AUTOEXEC program.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.