Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

SAS Macro Language

( Duration: 2 Days )

This SAS Macro Language training course focuses on using the SAS macro facility to design, write, and debug macro programs, with an emphasis on understanding how programs that contain macro code are processed.

By attending SAS Macro Language workshop, delegates will learn to:

  • Perform text substitution in SAS code
  • Use macro variables and macro functions
  • Automate and customize the production of SAS code
  • Conditionally or iteratively construct SAS code
  • Write self-modifying, data-driven programs

Attend trainings on SAS Programming and SAS - Data Manipulation Techniques or equivalent practical knowledge. Specifically, you should be able to do the following:

  • Write simple SQL queries using the SELECT statement
  • Read from and write to SAS tables using a DATA step
  • Use DATA step programming statements, including IF-THEN/ELSE, DO WHILE, DO UNTIL, and iterative DO
  • Use SAS data set options, including DROP=, KEEP=, and OBS=
  • Use character functions, including SUBSTR, SCAN, and UPCASE
  • Read subsets from tables using the WHERE statement
  • Create and use SAS date values and constants
  • Use Base SAS procedures such as SORT, PRINT, CONTENTS, MEANS, and FREQ

The SAS Macro Language class is ideal for:

  • Experienced SAS programmers who are familiar with simple SQL queries and well-versed in DATA step processing and who want to write reusable, dynamic programs and automate repetitive processing in SAS

COURSE AGENDA

1

Introduction

  • Why SAS macro?
  • Setting up for this course
2

SAS Macro Facility

  • Program flow
  • Creating and using macro variables
3

Storing and Processing Text

  • Macro functions
  • Using SQL to create macro variables
  • Using the DATA step to create macro variables
  • Indirect references to macro variables
4

Working with Macro Programs

  • Defining and calling a macro
  • Macro variable scope
  • Conditional processing
  • Iterative processing
5

Developing Macro Applications

  • Storing macros
  • Generating data-dependent code
  • Validating parameters and documenting macros

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X