Chapter 7: An Introduction to SAS Programming

SAS as a Programming Language

The SAS Studio Programming Windows

Your First SAS Program

How the DATA Step Works

How the INPUT Statement Works

Reading Delimited Data

How Procedures (PROCS) Work

How SAS Works: A Look Inside the “Black Box”

Conclusion

SAS as a Programming Language

This section of the book is dedicated to teaching you how to write your own programs in SAS. Perhaps you have some programming experience with other languages, such as C+, Python, or Java. This is both an advantage and a possible disadvantage. The advantage is that you understand how to think logically and use conditional logic, such as IF-THEN-ELSE statements and DO loops. On the other hand, SAS is somewhat unique in the way ...

Get An Introduction to SAS University Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.