BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Does anyone know if we can interact with the Enterprise Guide Project Log via VBS program calls?


I use the SAS Enterprise Guide OLE Automation reference to get information on Object Hierarchies & Method calls in order to control SAS EG projects dynamically in VBS code. In particular I have a script that walks through the entire Project hitting all elements that have a Log-object associated with them.

I compile each of the individual Log Elements into a single File to inspect for SAS Errors after running an EG project as a scheduled batch job.

This would be a lot simpler if there was a way to Clear & Export the Project log using VBS program calls. Also it would be helpful to Enable/Disable the option for the Project to build the Project Log.

Also, I have seen instances where EG batch jobs fail because the Project Log exceeds the Maximum size. Being able to Clear the Log before the program executes or Disable adding to the Log would solve this problem as well.


The OLE Automation Reference does not have any information on the Project Log object.

Does anyone know if this can be done?
1 ACCEPTED SOLUTION

Accepted Solutions
CaseySmith
SAS Employee

There is support for this starting in EG 7.15. See this post for details:

https://communities.sas.com/t5/SAS-Enterprise-Guide/Auto-Purge-Project-Log-in-EG/m-p/436983/highligh...

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

View solution in original post

2 REPLIES 2
deleted_user
Not applicable
Does anyone use OLE Automation to interact with their SAS EG Projects via VBS code at all?
CaseySmith
SAS Employee

There is support for this starting in EG 7.15. See this post for details:

https://communities.sas.com/t5/SAS-Enterprise-Guide/Auto-Purge-Project-Log-in-EG/m-p/436983/highligh...

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

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
  • 2660 views
  • 3 likes
  • 2 in conversation