O'Reilly logo

Practical and Efficient SAS Programming by Martha Messineo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required