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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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