Chapter Contents |
Previous |
Next |
STACK= |
Language element: | system option |
Default: | 0 |
Valid in: | configuration file, SAS invocation, OPTIONS statement, System Options window, VMS_SAS_OPTIONS DCL symbol |
OpenVMS specifics: | All aspects are host-specific |
Syntax | |
Details |
Syntax |
STACK=stack-size |
NOSTACK |
Details |
The STACK= system option specifies the size of the procedure stack in bytes. The stack is an area of memory that the procedure uses to store information, such as call-frame data and local variables. In general, the larger the procedure, the more stack space the procedure needs. If you are running large jobs, you may see the following message:
%SAS-W-LOWSTACK, low stack encountered for task task-name
This message indicates that the current procedure is using up most of its stack space. You can use the STACK= option to increase the stack size for the procedure. The default for most procedures is 60,000 bytes. If you use the STACK= system option, you change the size of the stack for all procedures. Therefore, you may need to set the stack size back to the default after certain procedures.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.