SAS Macro

Standard Course
£700 +VAT
per delegate
Course duration: 2 Days

You will be able to write your own Macros, understand the structure of the SAS Macro Language and deal with the various functions available in the SAS Macro Language.

Who is it for?

SAS users seeking to extend their Programming Skills.


Ideally the delegate will have attended the SAS Fundamentals course or have an equivalent level of competence. We recommend that attendees have three to six months of regular SAS programming experience to gain the most benefit from this course.

What you will learn

  • Common Coding Tasks
  • General Strategy

  • Introduction
  • Automatic Macro Variables
  • Determining the Values of Macro Variables
  • User-Defined Macro Variables
  • Resolution Considerations
  • Macro Variables vs. DATA Step Variables

  • Definition of a Macro
  • Passing Parameters
  • Compilation and Execution Phases

  • Symbol Table Rules
  • Deleting Macro Variables
  • Nested Macros
  • GLOBAL and LOCAL Variables

  • Directing Macro Execution
  • Conditional Termination of Macro Flow
  • String Manipulation

  • Functions and Call Routines
  • Call SYMPUT

  • Introduction
  • Numeric Evaluations
  • Introduction to Quoting Functions

  • Using the %INCLUDE Statement
  • The Autocall Library
  • How SAS Resolves Macro Calls
  • Writing Successful Macros

SAS Macro Course Dates

Our courses are live instructor-led and can be attended virtually or at our office.

  • Tuesday 30 January 2024 - Wednesday 31 January 2024
    Book now
  • Tuesday 23 April 2024 - Wednesday 24 April 2024
    Book now
  • Monday 26 July 2024 - Tuesday 27 July 2024
    Book now
  • Monday 21 October 2024 - Tuesday 22 October 2024
    Book now
Back to Training

Talk to us about how we can help