Previous Page | Next Page

SAS System Options

WORKTERM System Option



Specifies whether to erase the WORK files when SAS terminates.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Environment control: Files
PROC OPTIONS GROUP= ENVFILES

Syntax
Syntax Description
Details
Comparisons
See Also

Syntax

WORKTERM | NOWORKTERM


Syntax Description

WORKTERM

erases the WORK files at the termination of a SAS session.

NOWORKTERM

does not erase the WORK files.


Details

Although NOWORKTERM prevents the WORK data sets from being deleted, it has no effect on initialization of the WORK library by SAS. SAS normally initializes the WORK library at the start of each session, which effectively destroys any pre-existing information.


Comparisons

Use the NOWORKINIT system option to prevent SAS from erasing existing WORK files on invocation. Use the NOWORKTERM system option to prevent SAS from erasing existing WORK files on termination.


See Also

System Option:

WORKINIT System Option

Previous Page | Next Page | Top of Page