Professional Documents
Culture Documents
Table of Contents
Overview of the User Interface .................................................................................................. 1
Useful Pull-down Menus ............................................................................................................ 3
Working with Data ..................................................................................................................... 4
SAS data files ...........................................................................................................................................................4
Other data files .........................................................................................................................................................5
Working with Tasks ................................................................................................................... 5
Choosing a Task .......................................................................................................................................................5
Performing a Task ....................................................................................................................................................6
Exploring a Typical SAS Task Window .......................................................................................................................7
Example: Creating a Simple Report............................................................................................................................7
Working with Results ................................................................................................................. 8
Changing the Result Format and Style ........................................................................................................................8
Working with Process Flow...................................................................................................... 10
For More Information and Assistance ...................................................................................... 12
SAS Enterprise Guide Help ..................................................................................................................................... 12
SAS Enterprise Guide Tutorials............................................................................................................................... 12
Books .................................................................................................................................................................... 12
SSDS at Stanford ................................................................................................................................................... 13
A basic familiarity with the Windows operating system is all you need to get started with SAS
Enterprise Guide. You can access SAS Enterprise Guide on a PC from the Start menu, or by double-
clicking on the Enterprise Guide icon (shown below) on the desktop if applicable.
When you start SAS Enterprise Guide, a screen like the one below will appear:
Stanford University
Social Science Data and Software
This area is the workspace, and the Project Designer is the only window that is open in the workspace.
New windows open in the workspace when you generate reports or open data. When there is more than
one window open in the workspace, you can use the tabs at the top of windows to navigate between
them.
The Project Explorer window displays a hierarchical view of the active project. When you create a new
project, the Project Explorer window is empty. As you add data, run tasks, and generate results, an icon
for each object is added to the Project Explorer window.
The Project Designer window is a container for one or more process flows for the project. A process
flow is a relational view of the objects in the project. As you add data, run tasks, and generate results, an
icon for each object is added to the process flow and any relationship between the objects is shown with
an arrow.
You can create new process flows and you can copy or move objects between process flows. You can
also run a portion of the process flow or the entire process flow.
The Task Status window displays messages about the status of tasks as they are processing.
Menu Functions
Open and save project, data, code, report, and process flow.
File
Import and export data. Print process flow.
Modify or copy text, search and replace data. Expand or collapse
Edit
data.
Customize the look of the SAS Enterprise Guide window by
View selecting to view the tool bars, project designer, project flow,
task list, task status, and what is window.
Code Edit and run SAS codes and macros.
Edit data, add or delete rows and columns. Transpose and sort
Data data. Append and split data. Generate a random sample from the
data.
List data. Generate summarize statistics of the data. Distribution
Describe analysis. One-way frequencies. Wizards for summary statistics
available.
Create charts and graphs such as scatterplots, bar charts, line
Graph graphs, and pie charts, donut charts, and box plot. Wizard for bar
charts, pie charts, and line plot available.
Perform statistical procedures to produce descriptive and
Analyze
inferential statistics.
The Addin Manager menu enables you to add and remove add-in
Add-in
tasks.
Combine multiple reports into one. Set style of report. Schedule
Tools
and order tasks.
Window Bring a different window to the foreground.
Get help on SAS Enterprise Guide procedures. Getting Started
Help
tutorial. Connect to the online SAS Enterprise Guide resources.
In addition to opening existing data and using it, you can also work with your data in the following
ways:
• use the Import Data wizard to create SAS data sets from raw data files and Excel files
• use the New Data wizard to create a new SAS data file
• use the Query Builder to manipulate your data (for example, filter, join, add columns, and sort)
• make changes directly to data in the Data Grid
If a task has a wizard version and you want to use it, you can click Use Wizard.
As you scroll down in the Task List, you see tasks in the Graph category. As you scroll down further,
you see tasks for Statistical Analysis.
The Task by Name tab lists individual tasks alphabetically. This tab also lists the SAS procedure or
procedures that are used in the task.
The same tasks that you can select from the Task List are also available from the Data, Describe,
Graph, and Analyze menus. Tasks on the Analyze menu are grouped by type of statistical analysis.
In each task window, there are certain steps that you must complete before you can run the task. For
example, you must specify which variables you want to analyze and how you want to analyze them.
After that, you can select from a variety of options that pertain to the particular task. The most common
options for each task are selected for you, so after you've specified the information that is necessary to
run the task, the Run button becomes available and you can run the task and get the default results.
To assign a variable to a task role, you select the variable and drag it to the role. You can also select the
variable, click the right arrow, and select the role from the menu. Most tasks enable you to set a title and
footnote for the task.
Note: As you assign variables to roles and select options, SAS Enterprise Guide generates code that it
will send to SAS to process. You can see this code by clicking the Preview code button in the lower-
left of each task window.
In the Project Explorer window, select the data set. Then in the Describe menu, select List Data.
Select variables of interest, by pressing CTRL and clicking them, and drag them to the List Variables
category on the right, or click the right arrow and select List variables. After that, assign the grouping
Now rerun the List Data task to generate PDF results and HTML results in the new style.
Now suppose you would like to export the HTML List Data as a step in the project, so each time you run
the project an updated HTML file is exported to a specified location. First, in the Project Explorer
window, click HTML - List Data and select Export -> Export HTML - List Data As A Step In
Project from the pop-up menu.
The first page of the Export wizard enables you to select the file that you want to export. Click Next.
The second page of the Export wizard enables you to specify a location for the exported file. If you
would like to change the name of the file, so click Edit, and click in the File name box to change the
name. Click Save. Click Next.
The third page of the Export wizard enables you to review the selections that you have made. Click
Finish.
The Export task runs and creates the HTML file. You have changed the result format and style, and you
have learned to export an HTML file as a step in a project.
Then, you need to move the List Data task and associated results from the default process flow to the
new one. Click the Process Flow tab. Click List Data and select Move List Data to “Candy Nutrition
Report”. Click the “Candy Nutrition Report” tab. Click in a blank area of the Process Flow window
and select Run Candy Nutrition Report from the pop-up menu. Note: You can look at the Task
Status window to see the messages about processing. Also notice the background color around the tasks
that indicates the status. Click anywhere in the window to continue. Now, you have created a process
flow for a particular report so that you can run it to refresh your reports.
The Little SAS Book for Enterprise Guide 4.1, by Susan Slaughter and Lora Delwiche, SAS
Corporation
Copyright © 2008, by The Board of Trustees of the Leland Stanford Junior University. Permission granted to copy for non-
commercial purposes, provided we receive acknowledgment and a copy of the document in which our material appears. No
right is granted to quote from or use any material in this document for purposes of promoting any product or service.
Software Support, Social Science Data and Software
Document revised: May 7, 2008