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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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