Many times when I copy/paste code from another .sas program, notepad or anywhere else directly in a new SAS EG program, and try to run it, I will get an error and it won't run properly or at all.
I copy/pasted a macro and libnames that work perfectly in one SAS EG program file into another SAS EG program, and I get the following error. It appears it's not even reading the code at all. Is this a common issue with SAS and is there any way to work around it?
Thanks.
It appears it's not even reading the code at all. Is this a common issue with SAS and is there any way to work around it?
This is not a common issue and you may want to contact SAS Tech Support.
@Fistful_Dollars wrote:
Many times when I copy/paste code from another .sas program, notepad or anywhere else directly in a new SAS EG program, and try to run it, I will get an error and it won't run properly or at all.
I copy/pasted a macro and libnames that work perfectly in one SAS EG program file into another SAS EG program, and I get the following error. It appears it's not even reading the code at all. Is this a common issue with SAS and is there any way to work around it?
Thanks.
There are multiple reasons for a workspace server not starting.
The first that come to my mind:
The WORK directory can't be allocated.
You can't start another process (maxuproc in UNIX)
This doesn't sound like what's happening to you, but I've noticed that EG can be slow to copy TO the clipboard. If I select my stuff, hit "CTRL+C", and switch right over to the other screen and paste, my stuff hasn't been put on the clipboard. If I go back to EG, select my stuff, click Edit+Copy, and wait till the little spinney stops, my stuff will be on the clipboard.
Tom
SAS enterprise guide needs to make a connection to the server before it can run code . Your problem appears not to be with copying/pasting/running code , the problem is making a connection to the server.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.