Getting Started

advertisement
Chapter 1: Getting Started
1.1 Introducing SAS Enterprise Guide
1.2 Course Scenarios
1
Chapter 1: Getting Started
1.1 Introducing SAS Enterprise Guide
1.2 Course Scenarios
2
Objectives



3
State the capabilities and major features
of SAS Enterprise Guide software.
State the purpose of the different areas
of the SAS Enterprise Guide workspace.
Name the steps in a typical SAS Enterprise Guide
session.
Introduction to SAS Enterprise Guide 4.3
4
5
1.01 Multiple Choice Poll
Describe your experience with SAS Enterprise Guide.
a. I had not heard of it until I was told to take this class.
b. I have seen other people use it.
c. I have used it a little.
d. I have used it extensively.
6
7
1.02 Quiz
What are your reasons for learning about
SAS Enterprise Guide?
8
Introduction to SAS Enterprise Guide
SAS Enterprise Guide provides a point-and-click interface
for managing data and generating reports.
9
SAS Enterprise Guide Interface
SAS Enterprise Guide also includes a full programming
interface that can be used to write, edit, and submit
SAS code.
10
11
1.03 Multiple Choice Poll
Describe your experience with the SAS programming
language.
a. I have never seen nor written SAS code.
b. I have seen SAS code that other people wrote.
c. I have written a little SAS code.
d. I have extensive experience writing SAS programs.
12
SAS Enterprise Guide Interface: The Project
A project is a single
file that serves as
a collection of
 data sources
 SAS programs
and logs
 tasks and queries
 results
 informational
notes for
documentation.
You can control the contents, sequencing, and updating
of a project.
13
e101d01.egp
Building a SAS Enterprise Guide Project
To begin work with SAS Enterprise Guide, you
1. create a new project
2. add data to the project
3. run tasks against the data.
Additionally, you can
4. customize results
5. automate the process.
14
Behind the Scenes
As you build tasks, SAS Enterprise Guide generates
SAS code.
15
Behind the Scenes
SAS Enterprise Guide prepares SAS code, either
generated through point-and-click tasks or written by the
user, and submits the code to SAS. SAS can run on your
PC or on a remote server.
z/OS
Mainframe
UNIX
Local User
16
Windows Server
...
Behind the Scenes
SAS then executes the code and delivers the results
to SAS Enterprise Guide.
z/OS
Mainframe
UNIX
Local User
17
Windows Server
18
1.04 Multiple Choice Poll
What is your SAS Enterprise Guide configuration?
a. SAS Enterprise Guide and SAS on my PC
b. SAS Enterprise Guide on my PC and SAS
on a Windows server
c. SAS Enterprise Guide on my PC and SAS
on a UNIX server
d. SAS Enterprise Guide on my PC and SAS
on an IBM z/OS (mainframe) server
e. Other
f. Not sure
19
Chapter 1: Getting Started
1.1 Introducing SAS Enterprise Guide
1.2 Course Scenarios
20
Objectives


21
Define the business need for the class demonstrations
scenario.
Define the business need for the exercise scenario.
Filename Conventions
e104d01x
course ID
Code
22
Type
a
Activity
d
Demo
e
Exercise
s
Solution
chapter #
type
e104a01
e104a02
e104a02s
e104d01
e104d02
e104e01
e104e02
e104s01
e104s02
item #
placeholder
Example:
The SAS Enterprise
Guide 1: Essentials
course ID is e1, so
e104d01 =
SAS Enterprise Guide 1:
Essentials,
Chapter 4, Demo 1.
Three Levels of Exercises
Level 1
The exercise mimics an example presented in
the section.
Level 2
Less information and guidance are provided
in the exercise instructions, possibly including
exploring options not presented in the section.
Level 3
Prior knowledge of the SAS programming
language is assumed. Exercises illustrate the
integration of point-and-click functionality
together with the ability to write and edit code.
 You are not expected to complete all of the exercises
in the time allotted. Choose the exercise or exercises
that are at the level you are most comfortable with.
23
Orion Star Sports & Outdoors
For the demonstrations and exercises, you will use data
from Orion Star Sports & Outdoors. This is a fictitious
global sports and outdoors retailer with traditional stores,
an online store, and a large catalog business.
The corporate headquarters is located in the United
States with offices and stores in many countries
throughout the world.
Orion Star has approximately 1,000 employees and
90,000 customers, processes approximately 150,000
orders annually, and purchases products from 64
suppliers.
24
Orion Star Project
Throughout the course, you build SAS Enterprise Guide
projects that access various types of data sources, query
the data to filter and join tables, and produce several
different summary reports and graphs.
25
The SAS Help Facility
Use the SAS Enterprise Guide Help facility for additional
direction about SAS Enterprise Guide. Additional help is
available online.
support.sas.com/documentation/onlinedoc/guide
26
Navigating the
SAS Enterprise Guide
Workspace
This demonstration illustrates how
to add a data set, create a task, and
navigate the contents of the project
in the SAS Enterprise Guide workspace.
27
28
Exercise
This exercise reinforces the concepts
discussed previously.
29
30
Chapter Review
1. What is a project in SAS Enterprise Guide?
2. What are three essentials to a SAS Enterprise Guide
project? (Hint: All data processing works this way.)
31
Chapter Review Answers
1. What is a project in SAS Enterprise Guide?
A project is a single file that is a collection of
related data, tasks, SAS programs, and results
that can be saved and opened by SAS Enterprise
Guide.
2. What are three essentials to a SAS Enterprise Guide
project? (Hint: All data processing works this way.)
a. Add Data
b. Run Task
c. Explore Results
32
Chapter Review
3. Does SAS Enterprise Guide execute the code after
a task is submitted or run?
4. If you want to restore the windows configuration
to the original layout, you need to click on the
Restore Window Layout button. Where is this
button?
33
Chapter Review Answers
3. Does SAS Enterprise Guide execute the code after
a task is submitted or run?
No, the code that SAS Enterprise Guide creates is
executed by SAS, either on your local machine or
on a server.
4. If you want to restore the windows configuration
to the original layout, you need to click on the
Restore Window Layout button. Where is this
button?
It can be found by selecting Tools  Options 
General.
34
Download