2
 Introduction to the  S A S ® Macro Language Typical Presentation Formats Two full days in classroom with hands-on exercises One full day in classroom (no hands on exercises) Two half-days online (no hands on exercises) Overview This course is designed for the experienced SAS programmer who is new to the Macro Language. We start at the basics and cover the fundamentals necessary to start applying SAS macros in your programs. By the end of the class you will understand how the Macro Language works, what the Macro Symbol Table is and how to values stored in it, how the SAS Sy stem uses Macro Variables, key Macro Language concepts, important SAS Macro Language Functions, and how to invoke Macros in your programs. Intended Audience This session is suited for the SAS user who already has a basic understanding of the Data Step and Procedure Steps, and who is new to the Macro Language facility in SAS System softwa re. It is a beginning-level course that assumes no prior understanding o f the SAS Macro Language. It is also suitable for SAS users who want to understand the Macros found in programs then have "inherited" from other programmers. Seminar Topics: Introduction Macro Facility Overview and T erminology Macro Execution Phases Referencing Environments Defining and Using Macro Variables Naming, Defining and Using Macro Variables Displaying and Resolving Macro Variables Automatic Macro Variables Defining and Using Macros Defining and Invoking A Macro System Options Used With The Macro Facility Display Manager Command Line Macros Statement and Command Style Macros Macro Parameters Introducing Macro Parameters Positional Parameters and Keyword Parame ters Using Keyword and Positional Parameters Together Program Control Through Macros Macros That Invoke Macros Using Conditional Macro Statements Iterative Execution Using Macro Statements Macro Program Statements Interfacing With The DATA Step Using The SYMPUT Routine Using a SAS Data Set Using a Flat File && Macro Variables and Dynamic Coding Moving Text From Macro to DATA Step Variables Using Macro Functions Character Functions Evaluation Functions Contact Sierra Data Science For More Information: Email: [email protected] Phone: (707) 996 7380 www.SierraDataScience.com  Apply the power and flexibility of the SAS  Macro Language to y our  projects and prog rams by attending this high- impact session. For experienced SAS  programmers new t o  Macro capabilities and techniques. After taking this seminar you will be able to: Use automatic macro variables Assign values to your own macro variables Reference macro vari- ables in your pro- grams Take advantage of powerful macro lan- guage functions Understand the rela- tionship between the SAS macro language and the programming language  Write re-usable, flexi- ble programs requir- ing limited user inter- vention to run  Write conditional macro language com- mands Resolve and display macro variables in your programs and output Find and correct er- rors in your macros Reduce the work needed to create and run production pro- grams. Note: SAS is a registered trademark of SAS Institute, Inc. in the USA and other countries. ® indicates USA registration. This document copyright © 2011 Sierra Data Science. All rights reserved Aug 2012

Intro to SAS Macro Language Programming Seminar Description Aug 2012

Embed Size (px)

Citation preview

Page 1: Intro to SAS Macro Language Programming Seminar Description Aug 2012

7/28/2019 Intro to SAS Macro Language Programming Seminar Description Aug 2012

http://slidepdf.com/reader/full/intro-to-sas-macro-language-programming-seminar-description-aug-2012 1/1

 

Introduct ion to the

 SAS ® Macro LanguageTypical Presentation Formats

Two full days in classroom with hands-on exercises

One full day in classroom (no hands on exercises)

Two half-days online (no hands on exercises)

OverviewThis course is designed for the experienced SAS programmer who is new to the MacroLanguage. We start at the basics and cover the fundamentals necessary to start applying SASmacros in your programs. By the end of the class you will understand how the Macro Languageworks, what the Macro Symbol Table is and how to values stored in it, how the SAS Systemuses Macro Variables, key Macro Language concepts, important SAS Macro Language Functions,and how to invoke Macros in your programs.

Intended AudienceThis session is suited for the SAS user who already has a basic understanding of the Data Step and 

Procedure Steps, and who is new to the Macro Language facility in SAS System software. It is abeginning-level course that assumes no prior understanding of the SAS Macro Language. It isalso suitable for SAS users who want to understand the Macros found in programs then have"inherited" from other programmers.

Seminar Topics:Introduction Macro Facility Overview and Terminology

Macro Execution Phases

Referencing Environments

Defining and Using Macro Variables Naming, Defining and Using Macro Variables

Displaying and Resolving Macro Variables

Automatic Macro Variables

Defining and Using Macros Defining and Invoking A Macro

System Options Used With The Macro Facility Display Manager Command Line Macros

Statement and Command Style Macros

Macro Parameters Introducing Macro Parameters

Positional Parameters and Keyword Parameters

Using Keyword and Positional Parameters Together

Program Control Through Macros

Macros That Invoke Macros

Using Conditional Macro Statements

Iterative Execution Using Macro Statements

Macro Program Statements

Interfacing With The DATA Step

Using The SYMPUT Routine Using a SAS Data Set

Using a Flat File

&& Macro Variables and Dynamic Coding

Moving Text From Macro to DATA Step Variables

Using Macro Functions

Character Functions

Evaluation Functions

Contact Sierra Data Science For More Information:

Email: [email protected] Phone: (707) 996 7380

www.SierraDataScience.com

 Apply the power and flexibility of the SAS

 Macro Language to your  projects and programs

by attending this high-impact session. For 

experienced SAS programmers new to

 Macro capabilities and techniques.

After taking this seminar 

you will be able to:

Use automatic macro

variables

Assign values to your 

own macro variables

Reference macro vari-

ables in your pro-

grams

Take advantage of 

powerful macro lan-

guage functions

Understand the rela-tionship between the

SAS macro language

and the programming

language

 Write re-usable, flexi-ble programs requir-

ing limited user inter-

vention to run

 Write conditional

macro language com-mands

Resolve and display

macro variables in

your programs and

output

Find and correct er-

rors in your macros

Reduce the work 

needed to create and

run production pro-grams.

Note: SAS is a registered trademark of SAS Institute, Inc. in the USA and other countries. ® indicates USA registration.This document copyright © 2011 Sierra Data Science. All rights reserved Aug 2012