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

Well, I figured out the failure: I added my options to the top of the .cfg file, but they were being reset (to the lower values) at the bottom of the file!  The hash version is running now, and clearly using nearly all the RAM.

jakarman
Barite | Level 11

For this kind of failures you the reason there is a usermods_config file specified. All usermodifications should go in that one, not in the default one supplied by SAS.
This is a bad habit seen by oldies of the V8/V6 time where the default installation did not support that. A technical guy could add that functionality.

With 9.3 you can included/nest config files and it setup that way. 

---->-- ja karman --<-----
jdmarino
Fluorite | Level 6

Here are the timing results based on my real dataset:

SQL method: 5 hours

SET-BY method: 55 seconds  :smileygrin:

SET-POINT method: untried  (It seems to me to replicate SET-BY, but requires more coding)

HASH method: 2 hours  (too few keys compared to overall data causes near-linear searching)

I learned some new tricks.  Thanks to all who contributed ideas.

Haikuo
Onyx | Level 15

Thanks for the feedback! It is good to know that old-school data step still rocks if you know how to swing. Also, to my surprise, Proc Sort takes way less time than I expected.

Haikuo

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 18 replies
  • 2790 views
  • 7 likes
  • 6 in conversation