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?

BASUG is hosting free webinars Next up: Mike Sale presenting Data Warehousing with SAS April 10 at noon ET. Register now at the Boston Area SAS Users Group event page: 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.
BASUG is hosting free webinars Next up: Mike Sale presenting Data Warehousing with SAS April 10 at noon ET. Register now at the Boston Area SAS Users Group event page: 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.

BASUG is hosting free webinars Next up: Mike Sale presenting Data Warehousing with SAS April 10 at noon ET. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.

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