Skip to Content
SAS Certification Prep Guide, 5th Edition
book

SAS Certification Prep Guide, 5th Edition

by SAS Institute
September 2018
Intermediate to advanced content levelIntermediate to advanced
386 pages
17h 24m
English
SAS Institute
Content preview from SAS Certification Prep Guide, 5th Edition

Applying SAS Formats and Informats

Temporarily Assigning Formats to Variables

In your SAS reports, formats control how the data values are displayed. To make data values more understandable when they are displayed in your procedure output, you can use the FORMAT statement, which associates formats with variables.
Formats affect only how the data values appear in output, not the actual data values as they are stored in the SAS data set.
Syntax, FORMAT statement:
FORMAT variable(s) format-name;
  • variable(s) is the name of one or more variables whose values are to be written according to a particular pattern
  • format-name specifies a SAS format or a user-defined format that is used to write out the values.
Tip:The FORMAT ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certification Prep Guide, 4th Edition

SAS Certification Prep Guide, 4th Edition

SAS Institute
SAS Certification Prep Guide

SAS Certification Prep Guide

Joni N. Shreve, Donna Dea Holland

Publisher Resources

ISBN: 9781635269918