Sort Initialization Failure in SAS

   I was wondering if there is a reason and fix for SORT Initialization in SAS ||(v 9.2) ? I am using PROC SQL and there are multiple left joins and then a last group By statement.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aloysius LowCommented:
are you able to provide the exact error message?

and what are you trying to do exactly?
Not sure what your error is, but in your OPTIONS statement at the start of SAS, you can define the amount of SORT space that SAS uses as 0 (max).


This will not limited SAS to a fixed amount of memory for sorting.  There are pluses an minuses to doing this, but sounds like what you are looking for.
LuckyLucksAuthor Commented:

The MEMSIZE option is one that has to be used when SAS is invoked.  It can't be set after the session has been started like the SORTSIZE option can.

Add the MEMSIZE option to the invocation command for SAS.  Set the value to 1 GB and set the SORTSIZE value to 750 MB, or 75% of the MEMSIZE value.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.