PROC OPTIONS
GROUP=
MACRO
Type: System option
Default: 65536
See: MEXECNOTE on page 367 and MCOMPILENOTE on page 360
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
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.
MFILE System Option
Specifies whether MPRINT output is routed to an external file.
Valid in: Configuration file, OPTIONS window, OPTIONS statement, SAS invocation
Category: Macro
368 Chapter 20 • System Options for Macros