SAS 9.1 Companion For Unix Enivronments

Using One-Level Names to Access Permanent Files ( User Data Library)

Introduction to One-Level Names

SAS data sets are referenced with a one- or two-level name. The two-level name is of the form libref.member-name where libref refers to the SAS data library in which the data set resides and member-name refers to the particular member within that library. The one-level name is of the form member-name (without a libref ). In this case, SAS stores the files in the temporary Work data library. To override this action and have files with one-level names stored in a permanent library, first assign the User libref to an existing directory. To refer to temporary SAS files while User is assigned, use a two-level name with Work as the libref.

Techniques for Assigning the User Libref

You have three ways to assign the User libref:

See Chapter 17, "System Options under UNIX," on page 311 for details on the USER= system option.

Note  

SAS on UNIX does not support the assignment of the User libref via the USER environment variable.

Категории