BookmarkSubscribeRSS Feed
Quentin
Super User

Just noticed that in 9.4, the shipped default for LRECL is 32,767 (vs. 256 in 9.3).

 

But interestingly, the docs for LRECL still say "Use a value for the LRECL= system option that is not an arbitrary large value. Large values for this option can result in excessive use of memory, which can degrade performance."

 

This seems a bit contradictory.  SAS ships with LRECL with a default value (the maximum possible) which it recommends not using. 

 

Maybe this was just a concession to the reduce the risk of people accidentally not reading all of their data (and the number of tech support calls about that subject), even at the expense of performance?  Curious if most folks have changed this default and sees a performance benefit?

The Boston Area SAS Users Group is hosting free webinars!
Next up: Bart Jablonski and I present 53 (+3) ways to do a table lookup on Wednesday Sep 18.
Register now at https://www.basug.org/events.
4 REPLIES 4
ballardw
Super User

I wouldn't be surprised to find that comment about "arbitrary large" is aimed more at use in the FILENAME, FILE or INFILE statements where you can specify much larger values for LRECL than the system option will accept.

 

Also note that for files using RECFM=F  the default remains 256.

Quentin
Super User
But the "arbitrarily large" sentence says explicitly that it's talking about the system option. Use a value for the system option that is not arbitrarily large. Yet the default for the system option is the maximum allowed value.
The Boston Area SAS Users Group is hosting free webinars!
Next up: Bart Jablonski and I present 53 (+3) ways to do a table lookup on Wednesday Sep 18.
Register now at https://www.basug.org/events.
RW9
Diamond | Level 26 RW9
Diamond | Level 26

There are several questionable changes in 9.x, a really good one that came up recently is:

validavarname=any

 

Have whole sections on naming conventions, rules so that programming can be simple and effective.  Then as a default standpoint chuck all that out of the window and let users do whatever they like.  My face is sore from the number of facepalms over these decisions.

Quentin
Super User

Ugh I didn't realize validvarname=any was a default now.

 

I always hated that so many of the BI clients set it.  I think EG sets it, maybe DI studio.  Guess the thought was to make it "easier" to read all those lovely Excel spreadsheets that are floating around.

The Boston Area SAS Users Group is hosting free webinars!
Next up: Bart Jablonski and I present 53 (+3) ways to do a table lookup on Wednesday Sep 18.
Register now at https://www.basug.org/events.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2009 views
  • 1 like
  • 3 in conversation