i have a SAS stored process program which runs fine but the problem is when I run it directly through SAS then it takes less time as compared to when it is run through VBA using Excel Add in.
Any speific reason for that..??
Is SAS on the server?
Are the results being displayed in Excel as well?
Yes,
Yes results are displayed
Then likely the download time needs to be added. You're seeing the results but I bet it's the transfer to Excel(local computer) that takes the time. You can add some timers and check where the difference in time for your process occurs.
How can I stop the transfer of results so that some of the time taken is saved
If you don't need all the results, then why are you outputting them? Add a prompt to control what outputs are created.
I want the output to be created for other purpose but dont want them to be displayed in excel.
I have even untick the option of Automatic output in the tools option in SAS Excel Add in
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.