Chapter Contents

Previous

Next
USER=

USER=



Specifies the name of the default library for all one-level SAS data set names

Default: WORK
Valid in: configuration file, SAS invocation, OPTIONS statement, OPTIONS window
CMS specifics: library-specification


Syntax
Details
See Also

Syntax

USER='library-specification' | ('library-specification-1' ...'library-specification-n')

'library-specification'
specifies a physical name (enclosed in quotation marks), in the following form:

'<ft> fm' | 'SFS-directory'
where ft specifies the optional SAS library, and fm is the disk on which the USER library resides.

('library-specification-1' ...'library-specification-n')
specifies a concatenated list of user libraries.


Details

The USER library can be specified as a single library or as a concatenated list of libraries. For concatenated libraries, SAS saves new members into the first library in the list. SAS searches for members through all libraries, following the order of the libraries in the concatenated list.

Concatenated library specifications require an explicit filetype. Without a filetype, SAS is not able to locate individual members within the specified library.

For example, USER=SASXYZ causes all temporary data sets to be created as SASXYZ.name.

The following example causes new library members to be saved with filetype MYLIB (which can also be used as a fileref). Existing members can be retrieved from either library without specifying a libref.

USER=('MYLIB A' 'DEPTLIB DEPT.SAS.LDB')

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.