Get Started
Ready to access, transform, analyze, and report on your data using Base SAS to streamline and expedite programming tasks? These Base SAS and SAS Programming tutorials are a great place to start.
Read about the key features of Base SAS software for data access, transformation, and reporting.
Learn the basics
Learn how to get started with SAS programming by accessing these tutorials:
Stay connected
Be a part of the SAS community. We offer a variety of ways for you to interact with users and experts.
Tutorials
Browse our library of free SAS programming tutorials. Learn something new. Sharpen your skills.
Accessing Data: Understanding SAS Libraries and Importing Data
- Accessing Data in SAS Libraries (Video)
- Accessing a SAS Library
- Using Data Libraries
- LIBNAME Statement Syntax
- LIBNAME Statement Syntax for the V9 Engine
- Overview: PROC IMPORT
- PROC IMPORT Statement Syntax
- Example: Importing a Comma-Delimited File with a CSV Extension
- Using the Import Data Utility in SAS Studio (Video)
- Creating a SAS Table from a CSV File (Video)
- How to Automatically Generate XMLMap Files (Video)
- How to Generate Custom XMLMap Files (Video)
Exploring and Validating Your Data Using SAS Procedures and Built-in Tasks
- Overview: PRINT Procedure
- About the List Data Task
- Overview: FREQ Procedure
- About the One-Way Frequencies Task
- The One-Way Frequencies Task in SAS Studio (Video)
- Overview: MEANS Procedure
- About the Summary Statistics Task
- The Summary Statistics Task in SAS Studio (Video)
- About the Data Exploration Task
- Example: Exploring the SASHELP.CARS Data
Preparing and Manipulating Your Data
- About SAS DATA Step Statements
- How the DATA Step Works: A Basic Introduction
- Merging SAS Tables in a DATA Step (Video)
- Filtering a SAS Table in a DATA Step (Video)
- Creating a New Column in SAS (Video)
- Performing Conditional Logic in SAS (Video)
- Formatting Values in SAS (Video)
- Getting Started with the Macro Facility
- Using %IF-%THEN-%ELSE in SAS Programs
- Introduction to the SQL Procedure
- Comparing PROC SQL with the SAS DATA Step
- PROC SQL - Joining Two Tables
- Recoding Values
- Recoding Ranges of Values
Analyzing and Reporting on Your Data
- Overview: FREQ Procedure
- Example: One-Way Frequencies of Unit Sales
- Overview: MEANS Procedure
- Example: Summary Statistics of Unit Sales
- Overview: SGPLOT Procedure
- Example: Bar Chart
- Overview: CORR Procedure
- Example: Correlation Analysis of Cars Data
- Overview: REG Procedure
- Example: Regression Analysis on Student Data
- Overview: TIMEDATA Procedure
- Example: Time Series Exploration on Price Data
Base SAS tip sheets
Most of these PDFs should be printed in landscape mode on both sides of legal-sized (8.5 x 14 inches) paper. Those marked with an asterisk (*) can be printed in portrait mode on letter-sized paper.
Training Courses
Learn SAS technology quickly and efficiently by taking a course from the analytics experts.
Base SAS Programmer Certification
SAS Technical Papers
Read technical papers to learn how to complete a task or achieve a goal.
Software Downloads
The downloads application contains updates for SAS products and solutions.
Base SAS Blogs & Communities
Connect with other SAS users by joining a users group or attending an upcoming event.