## 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. |

### What people are saying - Write a review

User Review - Flag as inappropriate

good

User Review - Flag as inappropriate

This book contains good example based on functions..

### Contents

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 |

429 | |

### 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 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 normally distributed North Carolina numeric values numeric variable numeric-values optional parameter output Perl regular expression phone number 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 specified Subj SUBSTR SUBSTR function SYMPUT Syntax title Listing trailing blanks variable name word ZIP code