SAS Macro Language 2: Advanced Techniques

Course Code:

2 days
9:00am to 5.00pm
Course Fees:
S$1,850 (excl of G.S.T)
2021 Course Dates
30 – 31 Jul 2021
9 – 10 Sep 2021
29 – 30 Nov 2021
2 – 3 Dec 2021
None of the published dates will work for you? Speak to our training consultants for a private tuition arrangement or a closed door training.

Course Overview

This course covers macro quoting functions, macro storage, and macro techniques for advanced data access, table lookup operations, advanced parameter validation, and macro windows.

Program Objectives

Learn how to

• Create hierarchical, menu-driven macro applications

• Exploit stored compiled and autocall macro facilities

• Exploit macro quoting functions

• Generate data-driven macro calls

• Perform table lookup operations

• Apply SAS or user-defined formats to macro variables

• Automatically convert data set variables to macro variables

• Search for all CSV, Excel, or Microsoft Access files in a directory and all subdirectories and automatically import each file, worksheet, or table into a SAS data set

• Search for all SAS programs in a directory and all subdirectories and automatically submit every program

• Exploit SAS I/O and external file functions

• Create your own macro functions

• Create macro functions that return the number of observations in a data set or a subset of a data set

• Create a macro function that validates whether a selected variable exists in a selected data set and returns the variable’s type

• Create custom windows and menus that interactively gather and validate user-supplied parameter values.

Course Outline

Module 1: Macro Storage

Module 2: Protecting Special Characters

Module 3: Reading SAS Data

Module 4: Reading External Data

Module 5: Table Lookup Techniques

Module 6: Validating User Input

Click Here for full course Outline

Take The Next Step

It Takes Less Than 5 Min