# Step-by-Step Programming with Base SAS(R) Software

From sasCommunity

SAS documentation is extensive, thorough, and valuable. However, almost all of it is of a reference nature, which means that you need a certain amount of SAS knowledge before you can use it effectively. A notable exception is * Step-by-Step Programming with Base SAS® Software*, which is an instructional work and starts with the basics.

It's an 800-page book, divided into sections and subsections:

- Introduction to the SAS System
- What Is the SAS System?

- Getting Your Data into Shape
- Introduction to DATA Step Processing
- Starting with Raw Data: The Basics
- Starting with Raw Data: Beyond the Basics
- Starting with SAS Data Sets

- Basic Programming
- Understanding DATA Step Processing
- Working with Numeric Variables
- Working with Character Variables
- Acting on Selected Observations
- Creating Subsets of Observations
- Working with Grouped or Sorted Observations
- Using More Than One Observation in a Calculation
- Finding Shortcuts in Programming
- Working with Dates in the SAS System

- Combining SAS Data Sets
- Methods of Combining SAS Data Sets
- Concatenating SAS Data Sets
- Interleaving SAS Data Sets
- Merging SAS Data Sets
- Updating SAS Data Sets
- Modifying SAS Data Sets
- Conditionally Processing Observations from Multiple SAS Data Sets

- Understanding Your SAS Session
- Analyzing Your SAS Session with the SAS Log
- Directing SAS Output and the SAS Log
- Diagnosing and Avoiding Errors

- Producing Reports
- Producing Detail Reports with the PRINT Procedure
- Creating Summary Tables with the TABULATE Procedure
- Creating Detail and Summary Reports with the REPORT Procedure

- Producing Plots and Charts
- Plotting the Relationship between Variables
- Producing Charts to Summarize Variables

- Designing Your Own Output
- Writing Lines to the SAS Log or to an Output File
- Understanding and Customizing SAS Output: The Basics
- Customizing SAS Output: The Output Delivery System (ODS)

- Storing and Managing Data in SAS Files
- Understanding SAS Data Libraries
- Managing SAS Data Libraries
- Getting Information about Your SAS Data Sets
- Modifying SAS Data Set Names and Variable Attributes
- Copying, Moving, and Deleting SAS Data Sets

- Understanding Your SAS Environment
- Introducing the SAS Environment
- Using the SAS Windowing Environment
- Customizing the SAS Environment

- Appendix
- Additional Data Sets
- Glossary

The book is available online, at no cost, in both HTML and PDF forms.