Previous Page | Next Page

System Options under OpenVMS

CLEANUP System Option: OpenVMS

Specifies how to handle an out-of-resource condition.
Default: CLEANUP
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window, VMS_SAS_OPTIONS DCL symbol
Category: Environment control: Error handling
OpenVMS specifics: operation in various modes
See: CLEANUP System Option in SAS Language Reference: Dictionary





specifies that during the entire session, SAS attempts to perform automatic, continuous clean up of resources that are not essential for execution. Nonessential resources include those that are not visible to the user (for example, cache memory) and those that are visible to the user (for example, the KEYS windows).

CLEANUP does not prompt you before SAS attempts to clean up your disk. However, when an out-of-disk-space condition occurs and your monitor is attached to the process, you are prompted with a menu selection even if the CLEANUP option is on.

When the CLEANUP option is on, SAS performs automatic continuous cleanup. If not enough resources are recovered, the request for the resource fails, and an appropriate error message is written to the SAS log.

CLEANUP is the default in batch mode because there is no monitor attached to the process to accommodate prompting.


specifies that SAS allows the user to choose how to handle an out-of-resource condition. When NOCLEANUP is in effect and SAS cannot execute because of a lack of resources, SAS automatically attempts to clean up resources that are not visible to the user (for example, cache memory). However, resources that are visible to the user (for example, the KEYS windows) are not automatically cleaned up. Instead, SAS prompts you before attempting to clean up your disk.


The CLEANUP system option indicates whether you are prompted with a menu of items to clean up when SAS encounters an out-of-resource condition.

When CLEANUP is on, you are not prompted for any out-of-resource condition except for out-of-disk-space conditions. If you do not want to be prompted for out-of-disk-space conditions, use the CLEANUP option with the NOTERMINAL option.

If you specify NOCLEANUP, a dialog box prompts you for input when SAS runs out of a resource. On every menu except the out-of-disk-space menu, you can select Continuous. If you choose Continuous, the CLEANUP system option is turned on, and you are not prompted again in out-of-resource conditions, unless SAS runs out of disk space.

Previous Page | Next Page | Top of Page