Skip to Main Content
SAS Certified Professional Prep Guide
book

SAS Certified Professional Prep Guide

by SAS Institute
October 2019
Intermediate to advanced content levelIntermediate to advanced
430 pages
19h 4m
English
SAS Institute
Content preview from SAS Certified Professional Prep Guide

The SAS Macro Facility

SAS Processing of Macros

A SAS program can be any combination of the following elements:
  • DATA steps or PROC steps
  • global statements
  • Structured Query Language (SQL) code
  • SAS macro language code
When you submit a SAS program, the code is copied to a memory location called the input stack. The presence of text in the input stack triggers a component called the word scanner to begin its work.
Figure 7.1 SAS Processing with an Input Stack
SAS Processing with Input Stack
The word scanner has two major functions. First, it pulls the raw text from the input stack character by character and transforms it into tokens. Second, it sends tokens ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certified Specialist Prep Guide

SAS Certified Specialist Prep Guide

SAS Institute
SAS in Practice

SAS in Practice

Ekta Saraogi

Publisher Resources

ISBN: 9781642954692