SAS Programming 2: Data Manipulation Techniques

COURSE OUTLINE:

Description

This course is for those who need to learn data manipulation techniques using SAS DATA and procedure steps to access, transform, and summarize SAS data sets. The course builds on the concepts that are presented in the SAS Programming 1: Essentials course and is not recommended for beginning SAS software users.

Certification:

SAS Certified Clinical Trials Programmer Using SAS 9

Audience

SAS programmers and business analysts

Prerequisites

  • At least six months of experience writing SAS programs or have completed the SAS Programming 1: Essentials course
  • Have used SAS for at least one month

Learning Objectives

  • Control SAS data set input and output
  • Combine SAS data sets
  • Summarize, read, and write different types of data
  • Perform DO loop and SAS array processing
  • Transform character, numeric, and date variables

1. Introduction

  • Course logistics
  • Creating course data files

2. Controlling Input and Output

  • Writing observations explicitly
  • Writing to multiple SAS data sets
  • Selecting variables and observations

3. Summarizing Data

  • Creating an accumulating total variable
  • Accumulating totals for a group of data

4. Reading Raw Data Files

  • Reading raw data files with formatted input
  • Controlling when a record loads

5. Data Transformations

  • Manipulating character values
  • Manipulating numeric values
  • Converting variable type

6. Debugging Techniques

  • Using the PUTLOG statement

7. Processing Data Iteratively

  • DO loop processing
  • Conditional DO loop processing
  • SAS array processing
  • Using SAS arrays

8. Restructuring a Data Set

  • Rotating with the DATA Step

9. Combining SAS Data Sets

  • Using data manipulation techniques with match-merging

10. Creating and Maintaining Permanent Formats

11. Other SAS Languages

  • An overview of other languages
  • Using the SQL procedure
  • The SAS macro language

12. Learning More

  • SAS resources
  • Next steps