Contents
What’s New vii
Overview vii
SAS System Features viii
SAS Language Elements x
P A R T 1 Dictionary of Language Elements 1
Chapter 1 􀀀 Introduction to the SAS 9.2 Language Reference: Dictionary 3
The SAS Language Reference: Dictionary 3
Syntax Conventions for the SAS Language 4
Chapter 2 􀀀 SAS Data Set Options 9
Definition of Data Set Options 10
Syntax 10
Using Data Set Options 10
Data Set Options by Category 12
Dictionary 14
Data Set Options Documented in Other SAS Publications 70
Chapter 3 􀀀 Formats 81
Definition of Formats 84
Syntax 84
Using Formats 85
Byte Ordering for Integer Binary Data on Big Endian and Little Endian Platforms 88
Data Conversions and Encodings 89
Working with Packed Decimal and Zoned Decimal Data 90
Working with Dates and Times Using the ISO 8601 Basic and Extended Notations 94
Formats by Category 99
Dictionary 108
Formats Documented in Other SAS Publications 274
Chapter 4 􀀀 Functions and CALL Routines 285
Definitions of Functions and CALL Routines 296
Syntax 296
Using Functions and CALL Routines 298
Function Compatibility with SBCS, DBCS, and MBCS Character Sets 303
Using Random-Number Functions and CALL Routines 304
Date and Time Intervals 317
Pattern Matching Using Perl Regular Expressions (PRX) 320
Using Perl Regular Expressions in the DATA Step 321
Writing Perl Debug Output to the SAS Log 329
Perl Artistic License Compliance 330