Chapter 7: Advanced Tasks

Introduction

Sending Email

A Single Message

Multiple Messages

Running Code in Parallel

Using MPCONNECT

Striping Data

Simulating Recursion

Reading Metadata

Using the XML LIBNAME Engine

Introduction

This chapter includes examples of more advanced tasks that you can do with SAS. These examples are useful as demonstrations of what you can make SAS software do for you.

Sending Email

I often send emails from a SAS program, particularly to report success, warnings, and errors for automated production programs.  The only caveat when you use SAS to send emails is that you must be using the Simple Mail Transfer Protocol (SMTP) email interface. You need to have the EMAILHOST= and EMAILSYS= options set in your SAS session to send ...

Get Practical and Efficient SAS Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.