Previous Page | Next Page

System Options for Macros

MEXECSIZE System Option



Specifies the maximum macro size that can be executed in memory.
Valid In:

Configuration file

OPTIONS window

OPTIONS statement

SAS invocation

Type: System option
Default: 65536
PROC OPTIONS GROUP: MACRO
See also: MEXECNOTE and MCOMPILENOTE

Syntax
Details

Syntax

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

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 2,147,483,647.

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.

Previous Page | Next Page | Top of Page