Training The Digital Workforce of Tomorrow.
SAS-MC2 | SAS® Macro Language 2: Advanced Techniques



2 Day(s)

Instructor-Led Training

from SGD $1980*

Course Schedules

11 Mar 2024 - 12 Mar 2024
20 May 2024 - 21 May 2024

Enroll/ Enquire Now

*Course Pricing Subjected to Terms & Conditions.

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.

Who Should Enrol?

Experienced SAS macro programmers who want to learn advanced techniques

Course Outcome

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.


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


Related Courses

You might also be interested in these courses

SAS-DIFTM8 | SAS® Data Integration Studio: Fast Track
SAS-YVA275 | SAS® Visual Analytics 2 for SAS® 9: Advanced
SAS-MC1V2 | SAS® Macro Language 1: Essentials
SAS-SQ1M6 | SAS® SQL 1: Essentials
SAS-DMTX41 | Text Analytics Using SAS Text Miner
SAS-ROSI35 | SAS® Viya® and R Integration for Machine Learning