Chapter Contents

Previous

Next
Getting Started with the SAS System Using SAS/ASSIST Software

Setting Up SAS Files


Using SAS/ASSIST Software to Assign a New Libref

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.

  1. To assign a new libref, follow this selection path:

    Tasks
    [arrow]
    Setup
    [arrow]
    File Management
    [arrow]
    SAS data libraries
    The SAS Data Libraries window appears.

    SAS Data Libraries Window

    [IMAGE]

    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 DDNames.

  2. 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

    [IMAGE]

    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 Name.  [cautionend]

  3. Select Cancel to return to the SAS Data Libraries window.

  4. Select Assign a new libref from the SAS Data Libraries window. The Assign a New Libref window appears.

    Assign a New Libref Window

    [IMAGE]

    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 space.  [cautionend]

  5. In the Libref field, type the libref you want to use. Follow the naming conventions described previously. For this example, type MYDATA.

    In the Name of the SAS data library field, type the name you want to use according to the naming conventions described below.

  6. Select OK. A message is displayed that indicates that the libref was successfully assigned. Select Goback.

  7. 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.

  8. Select List current librefs again. This time the libref you just assigned is listed.

    Library Selector Window with New Libref

    [IMAGE]

  9. Follow this selection path to return to the WorkPlace menu:

    Cancel
    [arrow]
    Goback


Deleting a SAS Table

  1. To delete a SAS table, follow this selection path:

    Tasks
    [arrow]
    Data Management
    [arrow]
    Dbms Access
    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

    [IMAGE]

  2. In the left pane of the SAS Explorer window, select the data library containing the table you want to delete.

  3. 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.)

  4. Follow this selection path:

    Edit
    [arrow]
    Delete
    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.  [cautionend]

  5. To exit the SAS Explorer window, follow this selection path:

    File
    [arrow]
    Close

  6. When you are ready to return to the WorkPlace menu or move on to another task, follow the directions in Exiting a Task.


Chapter Contents

Previous

Next

Top of Page

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