No Errors, But Lots of Notes and No Results

Reply
Learner
Posts: 1

No Errors, But Lots of Notes and No Results

WHy do I get all the red note messages and no results.  No error are shown.  And this is an example SAS is using in the SAS Macro class.

Trusted Advisor
Posts: 1,117

Re: No Errors, But Lots of Notes and No Results

Hi @blkbudd,

 

It seems that at some point an unbalanced quotation mark was submitted. As a consequence, all code submitted afterwards, up to the next matching quote, is regarded as part of a long string which "has become more than 262 characters long," as one of the log messages says. The red 49s and non-functioning correct SAS code are only further consequences of this.

 

Normally, closing the SAS session and starting a new one should solve the issue. To try and solve it in the current session, you could use the following line of code:

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

Submit this repeatedly, until the message

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

appears in the log. Then your session should be back to normal.

Good luck!

Ask a Question
Discussion stats
  • 1 reply
  • 279 views
  • 0 likes
  • 2 in conversation