Chapter Contents

Previous

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

Exporting a File

This section shows you how to export a file using SAS/ASSIST software's export feature.


Instructions

  1. To export data to an external file, follow this selection path:

    Tasks
    [arrow]
    Data management
    [arrow]
    Export data...
    The Export data to flat file window appears.

    Export Data to Flat File Window

    [IMAGE]

  2. If the active table is SASUSER.HOUSES, continue to the next step. Otherwise, select Table, and then select the SASUSER.HOUSES table. For more information on selecting tables, see Selecting a Table.

  3. If other task selections exist (for example, a filename is listed for Export to file), follow this selection path to clear these selections:

    File
    [arrow]
    New

  4. In the Export to file field, type the complete physical pathname of the external file named HOUSDATA, into which you will export the SAS table. This file is created for you during the export process. Use the following table as a guide to naming the file. Note that USERID represents your userid.

    Examples of Operating Environment-Specific Physical Pathnames
    operating environment Example
    OS/390 USERID.HOUSDATA.EXPORT
    CMS HOUSDATA FILE A
    OpenVMS Alpha or OpenVMS VAX DEVICE:[EXPORT] HOUSDATA
    UNIX /u/userid/export/housdata
    OS/2 or Windows C:\export\housdata

  5. You can export the data in fixed columns or with a separator that you specify. For this example, select Fixed columns.

  6. Follow this selection path:

    Run
    [arrow]
    Submit
    A window appears with a message that your file was successfully created, and with a prompt to browse the file.

    File Successfully Created Message

    [IMAGE]

  7. Select Yes to browse the exported file in the FSLIST window, as shown in the following display.

    Browsing the Exported File

    [IMAGE]

  8. Follow this selection path to return to the Export Data to Flat File window:

    File
    [arrow]
    Close


Exiting This Task

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.