BookmarkSubscribeRSS Feed
GreggB
Pyrite | Level 9

sometimes when i submit a macro, the only thing I see in the log statement is the macro itself.  At this point, SAS seems to become non-responsive.  No other DATA step or PROC step will respond.  My only recourse is to shut down the session and reopen it (which is sometimes inconvenient.)

Is there another way to "wake SAS up"?

3 REPLIES 3
data_null__
Jade | Level 19

I've been told that if you submit and continue to submit this line

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

until you see

ERROR: No matching %MACRO statement for this %MEND statement.

you may be able to recover from the unresponsive state.

GreggB
Pyrite | Level 9

i'll try it.  thanks.

Ksharp
Super User

It looks like a black hole problem mentioned by sas documentation. i.e. it is what mentioned by _null_, you have not %mend; or misspell this statement.SAS will still accept the following code to fill into macro facility.

Ksharp

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1635 views
  • 2 likes
  • 3 in conversation