How long is client_id defined? And what is your MEMSIZE option?
A quick calculation shows me that your ~33 million observations should fit in about 1.5 GB of RAM, unless the variable is longer than expected.
Hi Kurt,
The Id is 10chars
current MEMSIZE=2147483648
Try adding line
dcc.definedata("_N_");
to reduce the memory footprint,
> Stillthe same issue
Then your data is too large to fit in memory. Your options are:
- Increase MEMSIZE. That's a startup option.
- Use the existing code. It works.
- Load successive subsets of the lookup table in the hash table and do the filtering in several stages (probably several data steps with a different portion of the look up table)
- Merge the tables. You need them to be sorted to do this efficiently.
> Can any one help with this.
You now know what the code does. Wasn't that your question?
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.