STARTLIB System Option

Specifies whether SAS assigns user-defined permanent librefs when SAS starts.
Valid in: Configuration file, SAS invocation
Category: Files: External files
PROC OPTIONS GROUP= EXTFILES
Note: This option cannot be restricted by a site administrator. For more information, see Restricted Options.

Syntax

Syntax Description

STARTLIB
specifies that when SAS starts, SAS assigns user-defined permanent librefs. STARTLIB is the default for the windowing environment.
NOSTARTLIB
specifies that SAS is not to assign user-defined permanent librefs when SAS starts. NOSTARTLIB is the default for batch mode, interactive line mode, and noninteractive mode.

Details

You assign a permanent libref only in the windowing environment by using the New Library window and by selecting the Enable at startup check box. SAS stores the permanent libref in the SAS registry. To open the New Library window, right-mouse click Libraries in the Explorer window and select New . Alternatively, type DMLIBASSIGN in the command box.
In the windowing environment, SAS automatically assigns permanent librefs when SAS starts because STARTLIB is the default.
In all other execution modes (batch, interactive line, and noninteractive), SAS assigns permanent librefs only when you start SAS with the STARTLIB option specified either on the command line or in the configuration file.