SAS Functions by Example, Second EditionFully updated for SAS 9.2, Ron Cody's SAS Functions by Example, Second Edition, is a must-have reference for anyone who programs in Base SAS. With the addition of functions new to SAS 9.2, this comprehensive reference manual now includes more than 200 functions, including new character, date and time, distance, probability, sort, and special functions. This new edition also contains more examples for existing functions and more details concerning optional arguments. Like the first edition, the new edition also includes a list of SAS programs, an alphabetic list of all the functions in the book, and a comprehensive index of functions and tasks. Beginning and experienced SAS users will benefit from this useful reference guide to SAS functions. This book is part of the SAS Press program. |
Contents
Chapter 1 Character Functions | 1 |
Chapter 2 Perl Regular Expressions | 143 |
Chapter 3 Sort Functions | 173 |
Chapter 4 Date and Time Functions | 178 |
Chapter 5 Array Functions | 219 |
Chapter 6 Truncation Functions | 225 |
Chapter 7 Descriptive Statistics Functions | 237 |
Chapter 8 Mathematical and Numeric Functions | 267 |
Chapter 10 Special Functions | 315 |
Chapter 11 State and ZIP Code Functions | 335 |
Chapter 12 Trigonometric Functions | 351 |
Chapter 13 Macro Functions | 359 |
Chapter 14 SAS File IO Functions | 371 |
Chapter 15 Variable Information Functions | 391 |
Chapter 16 Bitwise Logical Functions | 411 |
ListofFunctionsnew | 421 |
Other editions - View all
Common terms and phrases
argument array assigned bytes CALL routine Cary CATX CHAR character string character variable character-value Cody COMPGED compute concatenation convert Copyright data _null_ DATA step datalines datetime value default delimiters Demonstrating determine the number digits DSID EBCDIC Examples Function Returns Explanation This program FIPS following listing format function Primary function Functions by Example Gandalf informat integer intervals leading and trailing list of numeric list of variables Listing of Data macro variable matches missing value mmddyy10 modifiers non-missing values noobs North Carolina Note numeric values numeric variable numeric-values observation optional parameter output Perl regular expression proc print PRXMATCH PRXPARSE function Purpose PUT function quotation marks radians RANUNI result right to left SAS character value SAS data set SAS Institute Inc SAS log SAS variable search goes Second Edition SOUNDEX specified Subj SUBSTR SUBSTR function SYMPUT Syntax title Listing trailing blanks variable name word ZIP code