Chapter 5. Data Manipulation Part 2: DATA Step and Functions

  • Introduction 93

  • DATA Step Basics 94

  • Creating Multiple Tables 96

  • When Position Matters 98

  • SAS Functions 104

  • Summary 105

  • Where to Look for More Information 105

  • Exercises 106

Introduction

If you learn SAS the traditional way, you start with the DATA step. As you go on to more and more advanced training, you keep coming back to the DATA step and learning more about it. You are unlikely ever to learn or need to know all there is to know about the DATA step.

The DATA step is used for reading data from text files, manipulating data, and even writing reports. It is a complete programming language in its own right, and is even beginning to show signs of object orientation, that most up-to-date of programming ...

Get SAS Programming for Enterprise Guide Users, Second 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.