I am trying to learn more about using VBScript to run SAS processes. I have written the script below just to open and run a few code files in SAS EG, but this is as far as I got. Is there any good reference for this?
Sub Work(ProjectName, Files)
Set App = CreateObject("SASEGObjectModel.Application.4")
Set Project = App.Open(ProjectName,"")
Set Container = Project.CodeCollection
For Each File In Files
For Each Object In Container
If Object.Name = File Then Object.Run