BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BrentonCSmith
Fluorite | Level 6

I am getting an error :

The quoted string currently being processed has become more than 262 bytes long.

 

I ran a program successfully a number of times.  Then I added a macro, and forgot to include the %mend.  Now I can run a single data step and it still is giving me a Error message.  I thought that the command was Clear;Run; But it is not.  I need to deactivate code that I have run in the past.

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

You can try the magic string:

 

;*';*";*/;quit;

You may need a %mend as well.

 

Or you may have to restart SAS unfortunately.

 

Some more details and options are noted here:

https://blogs.sas.com/content/iml/2013/08/19/errors-that-cause-sas-to-freeze.html

View solution in original post

1 REPLY 1
Reeza
Super User

You can try the magic string:

 

;*';*";*/;quit;

You may need a %mend as well.

 

Or you may have to restart SAS unfortunately.

 

Some more details and options are noted here:

https://blogs.sas.com/content/iml/2013/08/19/errors-that-cause-sas-to-freeze.html

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 1110 views
  • 0 likes
  • 2 in conversation