KWJ2104
KWJ2104

Reputation: 1989

SAS not running code

Beginner SAS user here. I'm not quite sure what I've done but for whatever reason none of my code is running anymore. What I mean by this is when I press submit code/F8, nothing happens, and my log just shows what I submitted (it is basically a copy of my code). This is the case whether I try to run an entire program or just a piece of it.

It doesn't seem to be code specific. I've pulled up old code that I know has ran in the past, and the behavior is exactly the same. I'm wondering if I've triggered some kind of setting somewhere...

Thanks for any help.

Upvotes: 2

Views: 4059

Answers (2)

user25188759
user25188759

Reputation: 1

I have the same issue. SAS will sometimes not run a proven program. There are no errors because nothing was changed.

I work around this by closing out and relaunching multiple times; eventually it will run the code, but there is no telling when it will decide to work.

Upvotes: 0

Allan Bowe
Allan Bowe

Reputation: 12691

You probably have unbalanced quotation marks.. (or something else is awry, eg missing %mend; statement or end bracket). If starting a new session is not an option, try running the following:

;*';*";*/;)))%mend;quit;

Upvotes: 8

Related Questions