Summer-Ready Savings: Find the Training Course You Need at a Price You'll Love


SAS(R) Functions by Example

Course Details
Code: BFEX94
Tuition (USD): $1,650.00 • Classroom (2 days)
Course Details
GSA (USD): $1,496.22 • Classroom (2 days)

Ever spent valuable time writing complex code only to later find a function that would have done the job for you? Discover the plethora of practical SAS functions that you haven't seen in other SAS programming courses, and start resolving your everyday programming problems more quickly and efficiently.

Skills Gained

  • magically manipulate character data with ease, using PERL Regular Expression (PRX) and other amazing character functions
  • dominate datetime, date, and time values with the previously perplexing Date Interval functions
  • save programming time and reduce programmer frustration with array functions
  • easily compute descriptive statistics, including how to use the new SMALLEST and LARGEST functions
  • use mathematical and special functions to streamline your code
  • generate random numbers with ease
  • manipulate the values in various variables with CALL SORTN and CALL SORTC routines.

Who Can Benefit

  • Base SAS programmers who want to write more elegant, efficient DATA step and PROC SQL programs


  • Before attending this course, participants should have completed the SAS(R) Programming I: Essentials course. Completion of the SAS(R) Programming II: Manipulating Data with the DATA Step course is also recommended or, alternatively, a minimum of one year of SAS programming experience.

Course Details

Character Functions Part 1

  • storage length of character variables
  • functions that change case
  • functions that extract and search for strings
  • functions that join strings
  • functions that remove blanks from strings or take strings apart
  • functions that count substrings or characaters

Character Functions Part 2

  • the ANY and NOT functions
  • functions that replace words or characters
  • functions that compare strings

Date and Time Functions

  • SAS date functions
  • SAS time functions
  • SAS datetime functions
  • SAS interval functions

Array functions

  • the DIM function
  • array boundaries and the related functions
  • temporary arrays

Descriptive Statistics Functions

  • functions that count missing and nonmissing values for SAS variables
  • functions that compute descriptive statistics
  • functions that determine the ordering of data values

Special Truncation and Mathematical Functions

  • special functions
  • functions to obtain values from previous functions
  • truncation functions
  • commonly used mathematical functions

Random Number Functions

  • uniform random numbers
  • randomly generated data sets
  • selecting random subsets of a SAS data set
  • random assignments of subjects
  • random number call routine

Variable Information Functions

  • selected V functions

Perl Regular Expresssion Functions

  • writing regular expressions
  • the PRX functions
Contact Us 1-800-803-3948
Contact Us Live Chat
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward