All Courses:

| List Complete | List by Job Role

SAS Programming 2: Data Manipulation Techniques (PRG2)

Course duration: 2.5 days


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.

This course can help prepare you for the following certification exam(s): SAS Base Programming Exam for SAS 9.

Learn how to

  • 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.

Who should attend

Business analysts and SAS programmers


Before attending this course, you should have at least six months of experience writing SAS programs or have completed the SAS Programming 1: Essentials course and used SAS for at least one month. Specifically, you should be able to

  • submit a SAS program
  • diagnose and correct syntax errors
  • examine descriptor and data portions of a SAS data set
  • access SAS data libraries
  • read and create SAS data sets
  • read Excel spreadsheets
  • read delimited raw data files
  • examine data errors when reading raw data files
  • use SAS procedures to validate data
  • clean invalid data
  • create variables
  • combine SAS data sets
  • use global statements
  • use labels and formats, including user-defined formats
  • subset observations
  • direct output to external files
  • produce summary reports using the FREQ and MEANS procedures.

Course Outline


  • course logistics
  • course overview
  • SAS syntax review
  • navigating the SAS windowing environment (self-study)
Controlling Input and Output
  • outputting multiple observations
  • writing to multiple SAS data sets
  • selecting variables and observations
Summarizing Data
  • creating an accumulating total variable
  • accumulating totals for a group of data
Reading Raw Data Files
  • reading raw data files with formatted input
  • controlling when a record loads
  • additional techniques for list input (self-study)
Data Transformations
  • manipulating character values
  • manipulating numeric values
  • converting variable type
Debugging Techniques
  • using the PUTLOG statement
  • using the DEBUG option
Processing Data Iteratively
  • DO-loop processing
  • SAS array processing
  • using SAS arrays
Restructuring a Data Set
  • rotating with the DATA step
  • using the TRANSPOSE procedure
Combining SAS Data Sets
  • using data manipulation techniques with match-merging
Other SAS Languages
  • an overview of other languages
  • using the SQL procedure
  • the SAS macro language
Learning More
  • SAS resources
  • beyond this course

Course Materials

Classroom: Students attend classroom courses in one of our public training centers. You receive a hardcopy of the course notes and, in some courses, can choose to take home a copy of the course data.

Live Web: Students attend Live Web classes using a Web browser and a telephone and interact with their instructor and fellow classmates in real time. Each student receives an e-mail with instructions on how to join the class three business days before the class begins. The instructions e-mail includes a link to download the course materials. Students need to download and print the course materials prior to class.

e-Course: Students have unlimited 24/7 access to the product for the specified license period. The course requires only a standard Web browser and a free Flash plug-in. The course includes data that can be downloaded, printable lesson summaries, a Quick Reference Guide, practices and solutions, step-by-step demonstrations, and a Certificate of Completion.

System Requirements

This course addresses Base SAS. This course is appropriate for students who are using SAS 9 software.

For Live Web,

  • review and meet the general system requirements.
  • complete the course exercises through our virtual lab. The virtual lab allows you to access the software used in class over the Internet, so that you do not need this software on your local machine.
  • run this test to connect to a virtual lab session.
For e-Courses,
  • use Internet Explorer 6.0 or later or Firefox 1.5 or later, with JavaScript and cookies enabled
  • have the latest version of Macromedia Flash Player installed
  • have base SAS software visible on the same machine that you are taking the training on so that you can practice your new skills in your own SAS environment.

Location Start Day Duration Fee
Dubai 2.5 days 1250.0 US |
Terms of Use & Legal Information | Privacy Statement