Chapter 2: Introduction to the DS2 Language

2.1 Introduction

2.2 DS2 Programming Basics

2.2.1 General Considerations

2.2.2 Program Structure

2.2.3 Program Blocks

2.2.4 Methods

2.2.5 System Methods

2.2.6 User-Defined Methods

2.2.7 Variable Identifiers and Scope

2.2.8 Data Program Execution

2.3 Converting a SAS DATA Step to a DS2 Data Program

2.3.1 A Traditional SAS DATA Step

2.3.2 Considerations

2.3.3 The Equivalent DS2 Data Program

2.4 Review of Key Concepts

2.1 Introduction

In this chapter, we will describe the basic components and construction of DS2 programs. Along the way, we’ll note similarities and differences between DS2 data programs and traditional Base SAS DATA steps. We’ll also convert an existing DATA step to a DS2 data program and ...

Get Mastering the SAS DS2 Procedure now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.