Skip to Main Content
SAS 9.4 Language Reference, Second Edition
book

SAS 9.4 Language Reference, Second Edition

by SAS Institute
December 2013
Intermediate to advanced content levelIntermediate to advanced
824 pages
24h 21m
English
SAS Institute
Content preview from SAS 9.4 Language Reference, Second Edition
SAS Constants in Expressions
Definition
A SAS constant is a number or a character string that indicates a fixed value. Constants
can be used as expressions in many SAS statements, including variable assignment and
IF-THEN statements. They can also be used as values for certain options. Constants are
also called literals.
The following are types of SAS constants:
character
numeric
date, time, and datetime
bit testing
Character Constants
A character constant consists of 1 to 32,767 characters and must be enclosed in quotation
marks. Character constants can also be represented in hexadecimal form.
Using Quotation Marks with Character Constants
In ...
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

What's New in SAS 9.4

What's New in SAS 9.4

SAS Institute
Fiber Optic Cabling, 2nd Edition

Fiber Optic Cabling, 2nd Edition

Barry Elliott, Mike Gilmore

Publisher Resources

ISBN: 9781629590004