Hello!
I work in SAS EG on virtual machine. My EG project contains about 100 SAS programs which are located in different folders (they are not embedded to project). In order to make backup of programs linked to the project I embed them. In order to embed program I right click on it, go to ‘Properties’, and click ‘Embed’ button. I have to repeat these actions 100 times in order to embed all programs.
My question: is there some way to embed many programs to EG project at once?
Well, it could be made to work with EG Automation. You can use EG Automation to create a new project, create a new code node with content, and then save the project.
So your process would use VBScript or PowerShell or similar, and would do the following:
More details and examples about automation are in this article.
And in this blog post.
I'm afraid there is no option for this at the moment. Consider posting a SASware Ballot Idea for this.
Well, it could be made to work with EG Automation. You can use EG Automation to create a new project, create a new code node with content, and then save the project.
So your process would use VBScript or PowerShell or similar, and would do the following:
More details and examples about automation are in this article.
And in this blog post.
An alternative to your backup approach would be to use a version control tool with your EG programs. You can easily define what programs make up projects within the VC tool and it means embedding the programs into a project is not required. We use this approach and we never lose a program!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.