Chapter 40
Introducing the SAS Environment
Introduction to the SAS Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
Operating Environment Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
Starting a SAS Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
Selecting a SAS Processing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
Processing Modes and Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
Processing in the SAS Windowing Environment . . . . . . . . . . . . . . . . . . . . . . . . . . 744
Processing Interactively in Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
Processing in Batch Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748
Processing Noninteractively . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 750
System Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 750
Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 750
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 750
Learning More . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Operating Environment Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Windowing Environment Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Introduction to the SAS Environment
Purpose
In this section, you will learn about the various ways that you can run SAS programs.
More importantly, it explains the different modes that SAS can run in, and which modes
are best, depending on the types of jobs that you are doing.
This section introduces the SAS windowing environment, which is the default
processing mode.
741

Get Step-by-Step Programming with Base SAS 9.4, Second Edition, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.