Chapter Contents

Previous

Next
SAS Companion for the CMS Environment

SASUSER Library

The SASUSER library contains SAS catalogs that enable you to customize certain features of SAS while your SAS session is running and to save these changes. For example, in base SAS software, any changes that you make to function key settings or to window attributes are stored in a catalog named SASUSER.PROFILE. The SASUSER library can also contain personal catalogs for other SAS software products. You can also store SAS data files, SAS data views, SAS programs, SAS/ACCESS descriptor files, and additional SAS catalogs in your SASUSER library.

In addition to storing function key settings and window attributes, the SASUSER.PROFILE catalog is used to store your DEFAULT.FORM file. The DEFAULT.FORM is created by the FORM subsystem. It is used to control the default destination of all output that is generated by the PRINT command. (See Using the PRINT Command and the FORM Subsystem and SAS Language Reference: Dictionary for information about the FORM subsystem.)


Creating Your Own SASUSER Libraries

By creating your own SASUSER libraries, you can customize your SAS session to meet the requirements of a number of different types of jobs. For example, suppose you want to create a user profile for a particular type of task that requires a unique set of key definitions.

To specify the library to be created or used for your SASUSER library, use the SASUSER= system option when you invoke SAS. (You cannot change the SASUSER library during a SAS session.) For example, if your SASUSER library resides in your B disk, use the following command:

sas (sasuser='mysuser b'

Similarly, if your SASUSER library resides in the SFS directory MYID.MYSUSER, use the following command:

sas (sasuser='myid.mysuser'

Any profile changes that you make during your session are saved in the SAS catalog SASUSER.PROFILE, which is a member of the MYSUSER library. These changes are retained when you end your SAS session.


Chapter Contents

Previous

Next

Top of Page

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