Thanks for your kind reply, I don't know how to open my existing sasProgram as per your code. How can I load my .egp file and than set the variable sasProgram? For n=0 to (sasProgram.OutputDatasets.Count -1) Let me provide some details about my requirement in steps Requirement: To execute an existing process flow and save its output through automation script Steps to follow 1- Open .egp file 2- Click on Run Process Flow a) Loads data from CSV (Import Data) and create DataSet b) Perform one or more transformation on DataSet and generate result/final DataSet 3- Save the output tables data result/final (Sas Dataset) via export (or anything) on the disc The program you are referring to, I have reviewed them. The BatchProject.vbs example does not open a project/sasProject And, ExtractCode.vbs example does not execute the processflow and does not save the output of executed process flow. Kindly help
... View more