Hello,
I am trying to run SAS code in the background. By "background", I am referring to when my VM is closed as well as my SAS remote server.
Is it possible?
Not sure what you mean by "run in background". You can run the SAS code you have developed in EG, outside of EG by running the program as a SAS batch job. An easy way to do this is to use SAS Management Console. It contains a tool called Schedule Manager which enables you to run SAS batch jobs on the remote SAS App server on-demand or scheduled to run at a particular time.
If you are running EG on a VM, then having your SAS program scheduled via SMC will cause it to run at the required time without the need for a VM at all as it is handled by the SAS server. Please note EG projects can't be run this way, unless you export the project to SAS programs first. EG projects themselves can only be run or scheduled on the computer EG is installed on.
I don't think so. Studio has a background submit, see e.g. https://support.sas.com/resources/papers/proceedings17/SAS0417-2017.pdf. But I don't think EG has something comparable. Studio is the future, so definitely worth a look.
What you mean by closed and background is not clear.
However a SAS job (base sas code OR EG project ) can be run in batch mode when the SAS Server/services are stopped, the job does not require metadata access and the OS is running on the server either physical or VM.
Do discuss your issue with peers in your organization including SAS Administrators.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.