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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1430 views
  • 3 likes
  • 2 in conversation