|Getting Started with the SAS System Using SAS/ASSIST Software
The SAS System automatically assigns the libref SASUSER to a SAS data library under your operating environment so
that you can permanently store your work without assigning another libref.
- To assign a new libref, follow this
The SAS Data
Libraries window appears.
||SAS data libraries|
SAS Data Libraries Window
Note that under
OS/390, there is an additional option for Table information.... This option provides information about the operating environment and a list of allocated
- Select List current librefs.... The Select a Library window appears with a list of the currently
assigned librefs. The purpose of this step is just to view the current list of librefs.
Library Selector Window
Note: The preceding
display shows the Select a Library window for the UNIX operating environment. Other operating environments may have different formats for the Host Path
- Select Cancel to return to the SAS Data Libraries
- Select Assign a new libref from the SAS Data Libraries window. The Assign a New
Libref window appears.
Assign a New Libref Window
Note: Under OS/390,
the Host Options button in the Assign a New Libref window is used to specify operating environment-specific parameters such as disposition and
- In the Libref field, type the libref you want to use. Follow the naming conventions described previously. For this
In the Name of the SAS data library field, type the name you want to use according to the naming conventions described below.
- Under OS/390, type a fully qualified operating environment table name, for example,
- Under CMS, type the file mode, for example, A.
- Under UNIX, type the name of an existing
directory or subdirectory, for example, MYDATA.
- Under Windows or OS/2, type the name of an existing directory or subdirectory, for example, C:\
- Under OpenVMS, type the name of an existing directory or subdirectory, for example,
- Select OK. A message is displayed that indicates that the libref was successfully assigned.
- Under OS/390 only, if the file is not allocated, the software will prompt you to allocate the file and then allocate it for
you. The SAS Data Libraries window reappears.
- Select List current librefs again. This time the libref you
just assigned is listed.
Library Selector Window with New Libref
- Follow this selection path to return to the
- To delete a SAS table, follow this selection path:
A SAS Explorer window appears with a list of all the SAS files allocated to your SAS session. If you already
have a SAS Explorer window open, this SAS Explorer window is designated with a (2) on the window's title bar.
SAS Explorer Window
- In the left pane of
the SAS Explorer window, select the data library containing the table you want to delete.
- In the right pane of the SAS Explorer window, select the table you
want to delete. (If you have a mouse, single-click the table name.)
- Follow this selection
A prompt appears to ask you if you are sure you want to delete the table. Select OK to delete
the table or Cancel to cancel the delete.
Note: If the table you select for deletion is an active table in one or more SAS/ASSIST tasks, you
cannot delete it. If you wish to delete an active table, remove the table from active status by following the directions in
De-Selecting an Active Table.
- To exit the SAS Explorer window, follow this selection
- When you are ready to return to the WorkPlace menu or move on to another task,
follow the directions in Exiting a Task.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.