If you specify a large number of variables in the VAR statement, PROC SURVEYMEANS might stop processing. As a result, the following messages occur in the log:
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [SURVEYMEANS]
ERROR: Stack overflow detected SURVEYMEANS
Exception occurred at (37F972AA)
Task Traceback
You can circumvent the problem by specifying small subsets of your variables in each of several separate executions of PROC SURVEYMEANS.