I am working on a large data where I am creating 150+ columns using case statements in proc sql create table with multiple join conditions
When I try to run the code and create output it is giving me error for few tables where the record count is around 20 millions in source table .It is running fine for other tables where record count is less in source tables.
I am not creating any sas view. I am creating tables in hive using proc sql sas code. I have done some research over the net about this error and my code is not falling into any categories where this error can occur as per sas support portal
Can someone pls help resolve this.Below is the error
ERROR: An exception has been encountered. Please contact technical support and provide them with the following traceback information:
Contact SAS Technical Support.
What is your SAS session MEMSIZE setting? Normally PROC SQL will error gracefully if it runs out of memory, but it is possible if it has way too little memory it may not behave gracefully. Run this to confirm your MEMSIZE and post the results:
proc options option = memsize;
run;
In my experience, large SQL queries require a MEMSIZE of at least 6GB.
To note that MEMSIZE
is for memory including paging space. REALMEMSIZE
is for RAM only.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
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.