Chapter 5: Creating Labels and Formats

5.1  Adding Labels to Your Variables

5.2  Using Formats to Enhance Your Output

5.3  Regrouping Values Using Formats

5.4  More on Format Ranges

5.5  Storing Your Formats in a Format Library

5.6  Permanent Data Set Attributes

5.7  Accessing a Permanent SAS Data Set with User-Defined Formats

5.8  Displaying Your Format Definitions

5.9  Problems

 

5.1  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 ...

Get Learning SAS by Example now with O’Reilly online learning.

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