Desktop productivity for business analysts and programmers

Clear/Export Project Log using Automation

Accepted Solution Solved
Reply
N/A
Posts: 0
Accepted Solution

Clear/Export Project Log using Automation

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?

Accepted Solutions
Solution
‎03-23-2018 03:17 PM
SAS Super FREQ
Posts: 378

Re: Clear/Export Project Log using Automation

Posted in reply to deleted_user

All Replies
N/A
Posts: 0

Re: Clear/Export Project Log using Automation

Posted in reply to deleted_user
Does anyone use OLE Automation to interact with their SAS EG Projects via VBS code at all?
Solution
‎03-23-2018 03:17 PM
SAS Super FREQ
Posts: 378

Re: Clear/Export Project Log using Automation

Posted in reply to deleted_user

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

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 562 views
  • 3 likes
  • 2 in conversation