Hi All.
I have a variable with long strings.
I have read a response of a community contributor that covers the problem and how to fix it if the data is IMPORTED from a file
(https://communities.sas.com/t5/SAS-Enterprise-Guide/Lrecl-and-Extra-Pipeline-in-SAS-output/m-p/39875... )
I have an issue because I have many values in a variable I want to proceed locally ( I write them in the code) and I'm getting this message:
NOTE: The quoted string currently being processed has become more than 262 characters long. You might have unbalanced quotation
and the code is just a variable I'm running a loop from it to print the values:
mybar"text1|text|text2|text3|text1|text|text2|text3|text1|text|text2|text3|text1|text|text2|text3|text1|text|text2|text3|text1|text|text2|text3|";
anyone could give an opinion how to process all values and make that message dissapear from the log 🙂
Thanks
If you want to write code that has a really long string constant you can turn off the option that generates the message about stings longer than 262 characters.
Or you can write your constant as a combination of two or more shorter constants.
mybar"text1|text|text2|text3|text1|text|text2|text3|text1|text|text2"
|| "|text3|text1|text|text2|text3|text1|text|text2|text3|text1|text"
|| "|text2|text3|"
;
If you want to write code that has a really long string constant you can turn off the option that generates the message about stings longer than 262 characters.
Or you can write your constant as a combination of two or more shorter constants.
mybar"text1|text|text2|text3|text1|text|text2|text3|text1|text|text2"
|| "|text3|text1|text|text2|text3|text1|text|text2|text3|text1|text"
|| "|text2|text3|"
;
Thank you for the response :).
Sincerley.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: