O'Reilly logo

SAS Server Pages by Don Henderson

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 4: Generate a Document for Each Observation in a SAS Data Set

4.1 A Single Document as an HTML File

4.1.1 Output File Logical Record Length

4.2 A Separate HTML File for Each Observation

4.3 Generating a Document for Each Observation as an RTF File

4.3.1 Creating RTF SAS Server Pages

4.4 Next Steps

This example illustrates a well-known use casea mail-merge where the requirement is to generate custom content for each defined subset of data, usually each observation. Such observations can be individual observations in a SAS data set or aggregated summary statistics for each value of a class variable. There are numerous other potential use cases that can be implemented using a comparable approach.

We will start with a simple example where ...

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