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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.