SAS Functions by Example, Second Edition

Front Cover
SAS Institute, Mar 11, 2010 - Computers - 472 pages
Fully 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 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
Index
429

Chaper 9 Random Number Functions
287
Chapter 10 Special Functions
315

Other editions - View all

Common terms and phrases

About the author (2010)

Ron Cody, EdD, a retired professor from the Robert Wood Johnson Medical School now works as a private consultant and a national instructor for SAS Institute Inc. A SAS user since 1977, Ron's extensive knowledge and innovative style have made him a popular presenter at local, regional, and national SAS conferences. He has authored or co-authored numerous books, such as Learning SAS by Example: A Programmer's Guide; SAS Statistics by Example, Applied Statistics and the SAS Programming Language, Fifth Edition; The SAS Workbook; The SAS Workbook Solutions; Cody's Data Cleaning Techniques Using SAS, Second Edition; Longitudinal Data and SAS: A Programmer's Guide; SAS Functions by Example, Second Edition, and Cody's Collection of Popular Programming Tasks and How to Tackle Them, as well as countless articles in medical and scientific journals.

Bibliographic information