Help using Base SAS procedures

When a program becomes non-responsive

Reply
Super Contributor
Posts: 279

When a program becomes non-responsive

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"?

Respected Advisor
Posts: 3,799

When a program becomes non-responsive

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.

Super Contributor
Posts: 279

When a program becomes non-responsive

Posted in reply to data_null__

i'll try it.  thanks.

Super User
Posts: 10,044

When a program becomes non-responsive

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

Ask a Question
Discussion stats
  • 3 replies
  • 169 views
  • 2 likes
  • 3 in conversation