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 5. Creating Formats and Labels

5.1

Adding Labels to Your Variables

71

5.2

Using Formats to Enhance Your Output

73

5.3

Regrouping Values Using Formats

76

5.4

More on Format Ranges

78

5.5

Storing Your Formats in a Format Library

79

5.6

Permanent Data Set Attributes

80

5.7

Accessing a Permanent SAS Data Set with User-Defined Formats

82

5.8

Displaying Your Format Definitions

83

5.9

Problems

84

Adding Labels to Your Variables

If you are using SAS to produce listings and reports for others, you will want to make the output more readable and attractive. SAS formats and labels help you do this. They also help you to remember what each variable represents.

Many SAS procedures use variable labels to improve readability. You can create labels either in a DATA or PROC step. As ...

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