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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1140 views
  • 0 likes
  • 2 in conversation