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

The SAS default is "quotelenmax". I run regularly into cases where I have to specifically define "options noquotelenmax;"

Do you know of any reason why I shouldn't set the default to "noquotelenmax" eg. via an option statement in the autoexec?

1 ACCEPTED SOLUTION

Accepted Solutions
art297
Opal | Level 21

: Methinks you have been lucky or don't do a lot of coding which involves quoting.  I, personally, have often received the warning and knew to search code for unbalanced quotation marks.

View solution in original post

4 REPLIES 4
art297
Opal | Level 21

: If you write code, I would leave it set to its current default.  However, when you are running already tested code, I don't see any problem using option statements, before and after the code, switching between the two values.

Patrick
Opal | Level 21

Hi Art

Turning "quotelenmax" on and off is what I'm currently doing.

But I'm just wondering where the warning when "quotelenmax" is set adds any value. I simply can't remember any case I've encountered where the warning actually pointed to a real issue. But may-be I was just lucky.

Thanks

Patrick

art297
Opal | Level 21

: Methinks you have been lucky or don't do a lot of coding which involves quoting.  I, personally, have often received the warning and knew to search code for unbalanced quotation marks.

Patrick
Opal | Level 21

Hi Art

Very valid point. So I continue doing what I'm doing without changing the default.

Thanks

Patrick

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
  • 4 replies
  • 2242 views
  • 3 likes
  • 2 in conversation