Combining and Modifying SAS Data Sets
Examples
Author: SAS (technical reference)
Publisher: SAS Publishing
The 66 annotated example SAS programs in this book can be used as code models for many of the most common tasks of combining and modifying data in the SAS environment. The book begins with a brief overview of issues and techniques SAS dataset I/O.
Although written for version 6, the techniques presented in this book are equally valid for version 9.
Editions
Paperback (1995)
Paperback
Year: 1995
ISBN: 1-55544-220-X
Pages: 197
Publisher’s list price: 26.95
Contents
- 1. An Introduction to Data Relationships, Access Methods, and Techniques for Data Manipulation
- 2. Combining Single Observations With Single Observations
- 3. Combining a Single Observation With Multiple Observations
- 4. Combining Multiple Observations With Multiple Observations
- 5. Manipulating Data From a Single Source
- 6. Utilities and Functions
- Appendix. Error Checking When Using MODIFY or SET With KEY=
- Index
From the back cover
Combining and Modifying SAS Data Sets: Examples provides solutions for common tasks involving reshaping or combining SAS data sets. You can save programming hours by using these programs as a model for developing your own.
Discover efficient ways to
- concatenate SAS data sets
- interleave SAS data sets
- match-merge SAS data sets
- update SAS data sets
- remove, add, or update observations
- use error checking to protect data integrity when combining or modifying data sets
- use BY-group processing effectively
- retrieve information by performing table lookups.
In addition, examples demonstrate basic tasks such as converting a variable’s type, working with character strings, and working with SAS time and date values, among others.

