To write an accomplished program in the DATA step of SAS?, programmers must understand programming logic and know how to implement and even create their own programming algorithm. Handbook of SAS?DATA Step Programming shows readers how best to manage and manipulate data by using the DATA step.
The book helps novices avoid common mistakes resulting from a lack of understanding fundamental and unique SAS programming concepts. It explains that learning syntax does not solve all problems; rather, a thorough comprehension of SAS processing is needed for successful programming. The author also guides readers through a programming task. In most of the examples, the author first presents strategies and steps for solving the problem, then offers a solution, and finally gives a more detailed explanation of the solution.
Understanding the DATA steps, particularly the program data vector (PDV), is critical to proper data manipulation and management in SAS. This book helps SAS programmers thoroughly grasp the concept of DATA step processing and write accurate programs in the DATA step. Numerous supporting materials, including data sets and programs used in the text, are available on the books CRC Press web page.
Introduction to SAS
SAS Program and Language
Reading DATA into SAS
Creating and Modifying Variables
Base SAS Procedures
Subsetting Data by Selecting Variables
Changing the Appearance of Data
Creating Variables Conditionally
The IF-THEN/ELSE Statement
Executing One of Several Statements
Modifying the IF-THEN/ELSE Statement with the Assignment Statement
Understanding How the DATA Step Works
DATA Step Processing Overview
Retaining the Value of Newly Created Variables &lcl