SAS Tips and Tricks

SAS macro variables

Macro variables are tools that enable you to dynamically modify the text in a SAS program through symbolic substitution. You can assign large or small amounts of text to macro variables, when you reference the variable afterward the text that it contains will substitute the variable name.

Details

In this tips and tricks, we will start the SAS Macro language from scratch and learn how to create and use macro variables in order to dynamize SAS codes. More precisely, we will cover the following topics:

  • How can we create macro with %let statement ?
  • What are the system macro variables and how to use them
  • Use macro together with SAS code
  • Use character macro functions
  • How to deal with numeric values using macro functions
  • Creation of the macro using the CALL SYMPUTX in datastep
  • Creation of the macro using the INTO clause in PROC SQL

Prerequisites

You have some SAS experience and would like to use and create SAS macro variables in your SAS codes.

Quick Facts

  • Scheduled date: Session not yet scheduled.
  • Duration :3 Hours
  • Fee :225 Euros (VAT Exclusive)
  • Language: French/English
  • Included: Coffees, tips and tricks material

Christophe Kabacinski

click here to get more information about this teacher.

Course Location

This course will be organized at : Lodge.co Boulevard Simon Bolivar 34 1000 Bruxelles


Go back to your selection


This site uses cookies. .

By continuing to browse the site you are agreeing to our use of cookies. Review our cookies information for more details.