The FORMAT Procedure

A Word About PROC FORMAT

The FORMAT procedure stores user-defined informats and formats as entries in SAS catalogs. Formats determine how variable values are printed. For example, when the PRINT procedure displays the data set Work.Carsurvey, notice that the values for Sex, Income, and Color appear as numbers and letters, and therefore they are not easy to interpret.
Figure 8.1 Work.Carsurvey Data Set (partial output)
Work.Carsurvey Data Set
This chapter shows how to display more descriptive values for these variables.

The PROC FORMAT Statement

To begin a PROC FORMAT step, you use a PROC FORMAT statement.
Syntax, PROC FORMAT statement: ...

Get SAS Certification Prep Guide, 4th 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.