Chapter Contents

Previous

Next
MVARSIZE=

MVARSIZE=



Specifies the maximum size for in-memory macro variable values

Type: System option
Can be specified in:
Configuration file
OPTIONS window
OPTIONS statement
SAS invocation


Syntax
Details

Syntax

MVARSIZE= n | nK | nM | nG MAX

n specifies the maximum memory available in bytes.
nK specifies the maximum memory available in kilobytes.
nM specifies the maximum memory available in megabytes.
nG specifies the maximum memory available in gigabytes.
MAX specifies the maximum memory available as the largest integer your operating system can represent.


Details

If the memory required for a macro variable value is larger than the MVARSIZE= value, the variable is written to a temporary catalog on disk. The macro variable name is used as the member name, and all members have the type MSYMTAB.

The value you specify with the MVARSIZE= system option can range from 0 to the largest non-negative integer representable on your host. The default values are host dependent. A value of 0 causes all macro variable values to be written to disk.

The value of MVARSIZE= can affect system performance. If this option is set too low and the application frequently creates macro variables larger than the limit, then disk I/O increases. Before you specify the value for production jobs, run tests to determine the optimum value.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.