Chapter 3: DS2 Data Program Details

3.1 Introduction

3.2 DS2 Data Programs versus Base SAS DATA Steps

3.2.1 General Considerations

3.2.2 The “Six Subtle Dissimilarities”

3.2.3 DS2 “Missing” Features

3.3 Data Types in DS2

3.3.1 DS2 and ANSI Data Types

3.3.2 Automatic Data Type Conversion

3.3.3 Non-coercible Data Types

3.3.4 Processing SAS Missing and ANSI Null Values

3.4 Review of Key Concepts

3.1 Introduction

In this chapter, we’ll focus on DS2 data program fundamentals, first by further comparing and contrasting the traditional DATA step with the DS2 data program, and then by diving into some of the things that are new in DS2. In the process, we’ll convert more complex Base SAS DATA steps into DS2 data programs, and we will introduce several ...

Get Mastering the SAS DS2 Procedure 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.