Lecture1 - Chapter 1 : Overview of foundation SAS 1...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Describe the functionality of Foundation SAS. Describe the structure and design of Foundation SAS. Chapter 1 : Overview of foundation SAS
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 What Is Foundation SAS? Foundation SAS is a highly flexible and integrated software environment that can be used in virtually any setting to access, manipulate, manage, store, analyze, and report on data.
Background image of page 2
3 What Is Foundation SAS? Foundation SAS provides the following: a graphical user interface for administering SAS tasks a highly flexible and extensible programming language a rich library of prewritten, ready-to-use SAS procedures the flexibility to run on all major operating environments such as Windows, UNIX, and z/OS (OS/390) the access to virtually any data source such as DB2, Oracle, SYBASE, Teradata, SAP, and Microsoft Excel the support for most widely used character encodings for globalization
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 What Is Foundation SAS? At the core of Foundation SAS is Base SAS software. Base SAS capabilities can be extended with additional components. Components of Foundation SAS Reporting and Graphics Data Access and Management User Interfaces Analytics Base SAS Application Development Visualization and Discovery Business Solutions Web Enablement
Background image of page 4
5 Chapter 2: Getting Started with SAS 2.1 Introduction to SAS Programs 2.2 Submitting a SAS Program
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 List the components of a SAS program. State the modes in which you can run a SAS program. Objectives
Background image of page 6
7 DATA steps are typically used to create SAS data sets. PROC steps are typically used to process SAS data sets (that is, generate reports and graphs, manage data, and sort data). A SAS program is a sequence of steps that the user submits for execution. Raw Data DATA Step Report SAS Data Set SAS Data Set PROC Step SAS Programs
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8 Example How many steps are in this program? 3 steps data work.NewSalesEmps; length First_Name $ 12 Last_Name $ 18 Job_Title $ 25; infile 'newemps.csv' dlm=','; input First_Name $ Last_Name $ Job_Title $ Salary; run; proc print data=work.NewSalesEmps; run; proc means data=work.NewSalesEmps; class Job_Title; var Salary; run; DATA Step PROC Step PROC Step p102d01
Background image of page 8
9 SAS steps begin with either of the following: DATA statement PROC statement SAS detects the end of a step when it encounters one of the following: a RUN statement (for most steps) a QUIT statement (for some procedures) the beginning of another step (DATA statement or PROC statement) Step Boundaries
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10 Step Boundaries SAS detects the end of the DATA step when it encounters the RUN statement. SAS detects the end of the PROC PRINT step when it encounters the beginning of the PROC MEANS step. data work.NewSalesEmps; length First_Name $ 12 Last_Name $ 18 Job_Title $ 25; infile 'newemps.csv' dlm=','; input First_Name $ Last_Name $ Job_Title $ Salary; run; proc print data=work.NewSalesEmps; proc means data=work.NewSalesEmps; class Job_Title; var Salary;
Background image of page 10
11 Example How does SAS detect the end of the PROC MEANS step?
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/12/2011 for the course ASB 1001,2522, taught by Professor Nicole during the One '09 term at University of New South Wales.

Page1 / 91

Lecture1 - Chapter 1 : Overview of foundation SAS 1...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online