Previous Page | Next Page

System Options under OpenVMS

MVARSIZE= System Option: OpenVMS



Specifies the maximum size for in-memory macro variable values.
Default: 8,192 bytes
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window, VMS_SAS_OPTIONS DCL symbol
Category: Macro: SAS macro
PROC OPTIONS GROUP= MACRO
OpenVMS specifics: default; valid values for n
See: MVARSIZE= System Option in SAS Macro Language: Reference

Syntax
Details

Syntax

MVARSIZE=n | nK | nM | nG | hexX | MIN | MAX

n | nK | nM | nG

specifies the maximum macro variable size in multiples of 1 (bytes); 1,024 (kilobytes); 1,048,576 (megabytes); or 1,073,741,824 (gigabytes). You can specify decimal values for the number of kilobytes, megabytes, or gigabytes. For example, a value of 8 specifies 8 bytes, a value of .782k specifies 801 bytes, and a value of 3m specifies 3,145,728 bytes.

hexX

specifies the maximum macro variable size as a hexadecimal value. You must specify the value beginning with a number (0-9), followed by hexadecimal characters (0-9, A-F), and then followed by an X. For example, the value 2dx sets the maximum macro variable size to 45 bytes.

MIN

sets macro variable size to the minimum setting, which is 0. This value causes all macro variables to be written to disk.

MAX

sets the macro variable size to the maximum setting, which is 65,534.


Details

The MVARSIZE= system option specifies the maximum size for macro variables that are stored in memory. If the size of the macro variable is larger than the maximum value that is specified, variables are written out to disk.

The value of the MVARSIZE= system option can affect system performance. Before you specify the value for production jobs, run tests to determine the optimum value.

Previous Page | Next Page | Top of Page