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
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

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 Options: