MEXECSIZE System Option

Specifies the maximum macro size that can be executed in memory.
Valid in: Configuration fileOPTIONS windowOPTIONS statementSAS invocation
PROC OPTIONS GROUP= MACRO
Type: System option
Default: 65536
See: MEXECNOTE and MCOMPILENOTE

Syntax

MEXECSIZE=n | nK | nM | nG | nT | hexX | MIN | MAX

Required Arguments

n
specifies the maximum size macro to be executed in memory available in bytes.
nK
specifies the maximum size macro to be executed in memory available in kilobytes.
nM
specifies the maximum size macro to be executed in memory available in megabytes.
nG
specifies the maximum size macro to be executed in memory available in gigabytes.
nT
specifies the maximum size macro to be executed in memory available in terabytes.
MIN
specifies the minimum size macro to be executed in memory. Minimum value is 0.
MAX
specifies the maximum size macro to be executed in memory. Maximum value is
hexX
specifies the maximum size macro to be executed in memory by a hexadecimal number followed by an X.

Details

Use the MEXECSIZE option to control the maximum size macro that will be executed in memory as opposed to being executed from a file. The MEXECSIZE option value is the compiled size of the macro. Memory is allocated only when the macro is executed. After the macro completes, the memory is released. If memory is not available to execute the macro, an out-of-memory message is written to the SAS log. Use the MCOMPILENOTE option to write to the SAS log the size of the compiled macro. The MEMSIZE option does not affect the MEXECSIZE option.