Previous Page | Next Page

SAS System Options

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

Syntax
Syntax Description
Details

Syntax

STARTLIB | NOSTARTLIB


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.

Previous Page | Next Page | Top of Page