this behaviour sounds like "startup" settings being used by the first SAS session persist over all sessions.
Need to find a way to start a new session each time.
This behaviour could be similar to the distinction of "stored process servers" and "workspace servers" in SAS BI platform.
In EG, just disconnecting from the server ensures the next code submitted will run in a new session.
Is there a way though to insert insert a macro variable into an open and existing project?
' This VB.NET code runs my SAS code wonderfully but need a way to pass parameters in!!
Dim appMain as New SAS.EG.Scripting.Application
Dim prjMain as New SAS.EG.Scripting.Project
Dim prjName as String
prjName = "mysasegproject.egp
appMain.Open(prjMain.ToString, "")
prjMain = appMain.Project()
prjMain.Run()
Is there any way to insert a macro variable into this code logic so my project can use it?
I tried using Windows environmental variables and having my SAS EG project read them. That works BUT the environmental variables are "sticky" and cannot be changed if your code runs multiple iterations.
Any ideas would be greatly appreciated.
Thanks,
Lou
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: