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?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.