BookmarkSubscribeRSS Feed
ebrenner22
Calcite | Level 5

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

2 REPLIES 2
FredrikE
Rhodochrosite | Level 12

You can use the ENDSAS command which will kills the sas session, but leave EG open.

//Fredrik

SASKiwi
PROC Star

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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 994 views
  • 0 likes
  • 3 in conversation