Chapter Contents

Previous

Next
LEAVE=

LEAVE=



Specifies the bytes of memory to leave unallocated

Default: 0
Valid in: configuration file, SAS invocation, OPTIONS statement, OPTIONS window
CMS specifics: all


Syntax
Details
See Also

Syntax

LEAVE=MIN | MAX | n | nK | nM | nG | hexX

MIN
specifies the minimum number of bytes (0)

MAX
specifies the maximum number of bytes (2,147,483,647)

n
specifies an integer number of bytes

nK
specifies a number of kilobytes (1 kilobyte = 1,024 bytes)

nM
specifies a number of megabytes (1 megabyte = 1,048,576 bytes)

nG
specifies a number of gigabytes (1 gigabyte = 1,073,741,824 bytes)

hexX
specifies a number of bytes in hexadecimal notation


Details

The LEAVE= system option prevents SAS from allocating a portion of your USER memory region, which is reserved for concurrent execution of external programs and for operating environment cleanup in the event of an abnormal termination of SAS. External programs could include a sort package, an X command, or a REXX exec invoked from the SAS interface to REXX, for example.

If the value of MEMSIZE= is greater than your entire memory allocation, and if LEAVE=0, SAS can allocate the entire region, leaving no room to execute concurrent programs. Specifying a nonzero value for LEAVE= ensures that the specified amount of memory will always be reserved, regardless of the size of your memory allocation or the value of MEMSIZE=.

The amount of memory reserved with LEAVE= depends on the amount of memory required to run concurrent external programs.

See Also


Chapter Contents

Previous

Next

Top of Page

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