Published on :

Session Options and Memory Configuration Overview

This code is also available in: Deutsch Español Français
This program begins by displaying the content of the SASHELP.VOPTION system view. It then uses the OPTIONS procedure to list parameters related to memory management, and then requests details (definition and value) for the memory block size option (memblksz) and number formatting in the log (lognumberformat).
Data Analysis

Type : SASHELP


Uses the SASHELP.VOPTION system view and internal configuration metadata via PROC OPTIONS.

1 Code Block
PROC PRINT
Explanation :
Displays the complete list of current session options via the SASHELP.VOPTION view.
Copied!
1PROC PRINT DATA=sashelp.voption;
2RUN;
2 Code Block
PROC OPTIONS
Explanation :
Lists all SAS options belonging to the 'memory' group in the log.
Copied!
1PROC OPTIONS group=memory;
2RUN;
3 Code Block
PROC OPTIONS
Explanation :
Displays the definition and current value of the 'memblksz' option as well as information for the 'lognumberformat' option.
Copied!
1 
2PROC OPTIONS option=memblksz define value lognumberformat;
3RUN;
4 
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
Banner
Expert Advice
Expert
Michael
Responsable de l'infrastructure Viya.
« Understanding your execution environment is critical for performance optimization, especially when processing large datasets. This script combines two powerful methods to inspect your session's configuration: the SASHELP.VOPTION system view for programmatic extraction and PROC OPTIONS for detailed, human-readable diagnostics. »