O'Reilly logo

Learning SAS by Example by Ron Cody

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Working with Arrays

13.1

Introduction

244

13.2

Setting Values of 999 to a SAS Missing Value for Several Numeric Variables

244

13.3

Setting Values of NA and ? to a Missing Character Value

247

13.4

Converting All Character Values to Lowercase

248

13.5

Using an Array to Create New Variables

249

13.6

Changing the Array Bounds

250

13.7

Temporary Arrays

251

13.8

Loading the Initial Values of a Temporary Array from a Raw Data File

253

13.9

Using a Multidimensional Array for Table Lookup

254

13.10

Problems

257

Introduction

Cody’s rule of SAS programming goes something like this: if you are writing a SAS program, and it is becoming very tedious, stop. There is a good chance that there is a SAS tool, perhaps arrays or macros, that will make your task less tedious.

To the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required