MVARSIZE System Option: UNIX

Specifies the maximum size for in-memory macro variables.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window, SASV9_OPTIONS environment variable
Category: Macro: SAS macro
PROC OPTIONS GROUP= MACRO
Default: 32K (set in the installed !SASROOT/sasv9.cfg file)
UNIX specifics: default value
See: MVARSIZE System Option in SAS Macro Language: Reference

Syntax

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

Required Arguments

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, 2dx sets the maximum macro variable size to 45 bytes.
MIN
sets the macro variable size to the minimum setting, which is 0 bytes. Setting the macro variable size to the minimum setting causes all macro variable values to be written to disk.
MAX
sets the macro variable size to the maximum setting, which is 65,534 bytes.