WORKINIT System Option: UNIX

Initializes the Work library.
Valid in: configuration file, SAS invocation, SASV9_OPTIONS environment variable
Category: Environment control: Files
PROC OPTIONS GROUP= ENVFILES
Default: WORKINIT
UNIX specifics: WORKINIT does not erase files from previous sessions
See: WORKINIT System Option in SAS System Options: Reference

Syntax

–WORKINIT | –NOWORKINIT

Required Arguments

-WORKINIT
specifies that a new subdirectory is to be created in the directory specified in the WORK option.
-NOWORKINIT
specifies that the system is to use the directory specified by the WORK option.
  • If the system does not find any old subdirectories, it creates a new one.
  • If the system finds more than one old subdirectory, it uses the latest one.
  • If file locking is in effect (see FILELOCKS System Option: UNIX), the system looks for the latest unlocked directory. If it finds none, then it creates a new one.

Details

The WORKINIT option controls whether the Work library is initialized at SAS invocation.