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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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