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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1541 views
  • 2 likes
  • 3 in conversation